sqlalchemy/mako · Security
Mako contains Cross-site Scripting vulnerability
- GHSA ID
- GHSA-7q8x-38mc-p84f
- CVE ID
- CVE-2010-2480
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v4
- 5.3 · 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
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.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2010-2480 ↗
- https://access.redhat.com/security/cve/CVE-2010-2480 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=609573 ↗
- https://bugs.python.org/issue9061 ↗
- https://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html ↗
- https://www.makotemplates.org/CHANGES ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2010-1.yaml ↗
- http://bugs.python.org/issue9061 ↗
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html ↗
- http://www.makotemplates.org/CHANGES ↗
- https://github.com/advisories/GHSA-7q8x-38mc-p84f ↗