CVE-2010-2480Makotemplates Mako
Medium 4.3 No auth needed
Follow: this CVE · Makotemplates · Makotemplates Mako We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Mako.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| makotemplates | mako | ≤ 0.3.3 |
| makotemplates | mako | 0.1.0 |
| makotemplates | mako | 0.1.1 |
| makotemplates | mako | 0.1.2 |
| makotemplates | mako | 0.1.3 |
| makotemplates | mako | 0.1.4 |
| makotemplates | mako | 0.1.5 |
| makotemplates | mako | 0.1.6 |
| makotemplates | mako | 0.1.7 |
| makotemplates | mako | 0.1.8 |
| makotemplates | mako | 0.1.9 |
| makotemplates | mako | 0.1.10 |
| makotemplates | mako | 0.2.0 |
| makotemplates | mako | 0.2.1 |
| makotemplates | mako | 0.2.2 |
| makotemplates | mako | 0.2.3 |
| makotemplates | mako | 0.2.4 |
| makotemplates | mako | 0.2.5 |
| makotemplates | mako | 0.2.6 |
| makotemplates | mako | 0.3 |
| makotemplates | mako | 0.3.1 |
| makotemplates | mako | 0.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.python.org
- lists.opensuse.org
- secunia.com Vendor Advisory
- www.makotemplates.org