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 vect
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | mako | < 0.3.4 | 0.3.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2010-2480
- https://access.redhat.com/security/cve/CVE-2010-2480
- https://bugs.python.org/issue9061
- https://bugzilla.redhat.com/show_bug.cgi?id=609573
- https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2010-1.yaml
- https://github.com/sqlalchemy/mako
- https://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- https://www.makotemplates.org/CHANGES
- http://bugs.python.org/issue9061
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- http://www.makotemplates.org/CHANGES
- http://secunia.com/advisories/39935
- https://github.com/advisories/GHSA-7q8x-38mc-p84f
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
mako- Disclosed
- 02.07.2010
- Updated
- 11.10.2026 12:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-7q8x-38mc-p84f - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2010-1 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: mako
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 07.2010 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 3
- Medium 2
Disclosures per year
- 2017: 0
- 2018: 0
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 3
earlier: 1
-
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 vect this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.