CVE-2010-2480 json
Mako contains Cross-site Scripting vulnerability
published 16y ago modified 4mo ago also GHSA-7q8x-38mc-p84f , PYSEC-2010-1 , EUVD-2010-0002
- cvss
- 6.1
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2010-2480 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2010-2480 updated cvss 5.8
v0.3.4): Improper escaping of single quotes in escape.cgi (XSS)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | mako | <0.3.4 |
0.3.4 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
lists.opensuse.org
/opensuse-security-announce/2010-08/msg00001.html
vendor-advisory, web
-
secunia.com
/advisories/39935
third-party-advisory, vendor-advisory, advisory
-
makotemplates.org
/CHANGES
web
-
bugs.python.org
/issue9061
web
-
nvd.nist.gov
/vuln/detail/CVE-2010-2480
advisory
-
access.redhat.com
/security/cve/CVE-2010-2480
web
-
bugs.python.org
/issue9061
web
-
bugzilla.redhat.com
/show_bug.cgi?id=609573
web
-
github.com
/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2010-1.yaml
web
-
github.com
/sqlalchemy/mako
package
-
lists.opensuse.org
/opensuse-security-announce/2010-08/msg00001.html
web
-
makotemplates.org
/CHANGES
web
-
github.com
/advisories/GHSA-7q8x-38mc-p84f
advisory
Sources
- CVE List CVE-2010-2480
- GitHub Advisory GHSA-7q8x-38mc-p84f
- NVD CVE-2010-2480
- OSV PYSEC-2010-1
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.