{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2010-2480","id":"CVE-2010-2480","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.","descriptionLong":"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.","published":"2010-07-02T18:30:00.000Z","updated":"2026-06-16T23:20:50.070Z","reserved":"2010-06-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"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","rating":"medium","source":"GitHub"},"metrics":[{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"},{"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","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mako","purl":"pkg:pypi/mako","ranges":["<0.3.4"],"fixed":["0.3.4"],"advisory":"GHSA-7q8x-38mc-p84f"}],"cwes":["CWE-79"],"aliases":["GHSA-7q8x-38mc-p84f","PYSEC-2010-1"],"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://bugs.python.org/issue9061","tags":["web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=609573","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2010-1.yaml","tags":["web"]},{"url":"https://github.com/sqlalchemy/mako","tags":["package"]},{"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/advisories/GHSA-7q8x-38mc-p84f","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01818,"epssPercentile":0.79151,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2010-2480","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2010-2480","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2010-2480","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7q8x-38mc-p84f","ok":true,"note":"GHSA-7q8x-38mc-p84f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2010-2480","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}