{"id":"CVE-2010-2480","aliases":["DEBIAN-CVE-2010-2480","EUVD-2010-0002","GHSA-7q8x-38mc-p84f","PYSEC-2010-1"],"status":"published","title":"Mako contains Cross-site Scripting vulnerability","description":"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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01818,"percentile":0.78869,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2010-07-02T18:30:00Z","modified":"2026-10-23T17:47:49Z","fixes":[{"ecosystem":"PyPI","package":"mako","fixed_in":["0.3.4"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"mako","fixed_in":["0.3.4-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mako","fixed_in":["0.3.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mako","fixed_in":["0.3.4-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"mako","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mako","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.4-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mako","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mako","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.4-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"mako","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.4"}]}],"versions":["0.1.0","0.1.1","0.1.10","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.3.0","0.3.1","0.3.2","0.3.3"]},{"source":"osv","ecosystem":"PyPI","package":"mako","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.4"}]}],"versions":["0.1.0","0.1.1","0.1.10","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.3.0","0.3.1","0.3.2","0.3.3"]}],"products":[{"vendor":"makotemplates","product":"mako"}],"references":[{"url":"http://www.makotemplates.org/CHANGES","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://bugs.python.org/issue9061","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://secunia.com/advisories/39935","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2010-2480","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2010-2480","tags":["web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=609573","tags":["web"]},{"url":"https://bugs.python.org/issue9061","tags":["web"]},{"url":"https://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html","tags":["web"]},{"url":"https://www.makotemplates.org/CHANGES","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2010-1.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7q8x-38mc-p84f","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2010-2480","tags":["advisory"]},{"url":"https://github.com/sqlalchemy/mako","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2010-2480","description":"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.","status":"published","published":"2010-07-02T18:30:00Z","modified":"2024-08-07T02:32:16.854Z","updated_at":"2026-11-02T14:33:27.01833Z"}],"euvd":[{"id":"EUVD-2010-0002","description":"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.","status":"published","published":"2010-07-02T18:30:00Z","modified":"2024-08-07T02:32:16Z","updated_at":"2026-11-03T01:39:37.858649Z"}],"ghsa":[{"id":"GHSA-7q8x-38mc-p84f","title":"Mako contains Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2022-05-17T05:48:31Z","modified":"2024-09-30T20:14:05Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:07.852618Z"}],"nvd":[{"id":"CVE-2010-2480","description":"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.","status":"published","published":"2010-07-02T19:00:00.973Z","modified":"2026-06-16T23:20:50.07Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:01:49.736647Z"}],"osv":[{"id":"GHSA-7q8x-38mc-p84f","title":"Mako contains Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2022-05-17T05:48:31Z","modified":"2024-09-30T20:26:39.089654Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:41.349637Z"},{"id":"CVE-2010-2480","description":"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.","status":"published","published":"2010-07-02T19:00:00Z","modified":"2026-04-10T03:41:19.191915Z","updated_at":"2026-11-02T15:43:57.991581Z"},{"id":"DEBIAN-CVE-2010-2480","description":"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.","status":"published","published":"2010-07-02T19:00:00.973Z","modified":"2026-10-23T17:47:49.785302428Z","updated_at":"2026-11-02T15:45:24.316685Z"},{"id":"PYSEC-2010-1","description":"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.","status":"published","published":"2010-07-02T19:00:00Z","modified":"2026-06-10T17:00:40.513369422Z","updated_at":"2026-11-02T15:52:51.254177Z"}]}}
