GitHub Advisoryadvisory · PyPI
GHSA-7q8x-38mc-p84f Mako contains Cross-site Scripting vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2010-2480
- Ecosystem
- PyPI
- Packages
- mako
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-02-04
Affected packages
• PyPI mako: < 0.3.4 → fixed in 0.3.4
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.
Related
Alias · CVE (1)
- CVE-2010-2480 Mako before 0.3.4 relies on the cgi.escape function in the Python standard library for cross-site scripting (XSS) protection, which makes… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2010-2480 advisory
- https://access.redhat.com/security/cve/CVE-2010-2480 web
- https://bugs.python.org/issue9061 web
- https://bugzilla.redhat.com/show_bug.cgi?id=609573 web
- https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2010-1.yaml web
- https://github.com/sqlalchemy/mako package
- https://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html web
- https://www.makotemplates.org/CHANGES web
- http://bugs.python.org/issue9061 web
- http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html web
- http://www.makotemplates.org/CHANGES web