{"id":"GHSA-7q8x-38mc-p84f","summary":"Mako contains Cross-site Scripting vulnerability","details":"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.","aliases":["CVE-2010-2480","PYSEC-2010-1"],"modified":"2024-09-30T20:24:34.342758Z","published":"2022-05-17T05:48:31Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-02-04T00:15:40Z","nvd_published_at":"2010-07-02T19:00:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2010-2480"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2010-2480"},{"type":"WEB","url":"https://bugs.python.org/issue9061"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=609573"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2010-1.yaml"},{"type":"PACKAGE","url":"https://github.com/sqlalchemy/mako"},{"type":"WEB","url":"https://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html"},{"type":"WEB","url":"https://www.makotemplates.org/CHANGES"},{"type":"WEB","url":"http://bugs.python.org/issue9061"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html"},{"type":"WEB","url":"http://www.makotemplates.org/CHANGES"}],"affected":[{"package":{"name":"mako","ecosystem":"PyPI","purl":"pkg:pypi/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7q8x-38mc-p84f/GHSA-7q8x-38mc-p84f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}