Live threats

All CVEs / Makotemplates

CVE-2010-2480Makotemplates Mako

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Jul 2, 2010
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

Mako before 0.3.4 relies on the cgi.escape function in the Python standard library for cross-site scripting (XSS) protection, which makes it easier for remote attackers to conduct XSS attacks via vectors involving single-quote characters and a JavaScript onLoad event handler for a BODY element.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mako.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mako < 0.3.4 0.3.4 pip install "mako>=0.3.4"
PyPI mako < 0.3.4 0.3.4 pip install "mako>=0.3.4"

Per OSV / GitHub Advisories (GHSA-7q8x-38mc-p84f, PYSEC-2010-1). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
makotemplatesmako≤ 0.3.3
makotemplatesmako0.1.0
makotemplatesmako0.1.1
makotemplatesmako0.1.2
makotemplatesmako0.1.3
makotemplatesmako0.1.4
makotemplatesmako0.1.5
makotemplatesmako0.1.6
makotemplatesmako0.1.7
makotemplatesmako0.1.8
makotemplatesmako0.1.9
makotemplatesmako0.1.10
makotemplatesmako0.2.0
makotemplatesmako0.2.1
makotemplatesmako0.2.2
makotemplatesmako0.2.3
makotemplatesmako0.2.4
makotemplatesmako0.2.5
makotemplatesmako0.2.6
makotemplatesmako0.3
makotemplatesmako0.3.1
makotemplatesmako0.3.2

Official sources

References

Links published by the sources. Open them with care.