{"id":"CVE-2010-2480","published":"2010-07-02T18:30:00Z","modified":"2024-08-07T02:32:16Z","title":"Mako before 0.3.4 relies on the cgi.escape function in the Python standard library for cross-site scripting (XSS)…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01818,"percentile":0.79248,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.makotemplates.org/CHANGES","tags":["x_refsource_CONFIRM"]},{"url":"http://bugs.python.org/issue9061","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/39935","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":15.85}]},"affected":[{"ecosystem":"PyPI","package":"mako","vulnerableRanges":["<0.3.4"],"patched":["0.3.4"],"from":["GHSA-7q8x-38mc-p84f","PYSEC-2010-1"],"provenance":"source"}],"summary":{"text":"The flaw lies in Mako, a Python templating library, in versions before 0.3.4, where it relies on the cgi.escape function from Python's standard library as its cross-site scripting (XSS) protection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:15Z"},"euvd":{"id":"EUVD-2010-0002","exploited":false,"provenance":"source"}}