GitHub Advisoryadvisory · PyPI

GHSA-7q8x-38mc-p84f Mako contains Cross-site Scripting vulnerability

MEDIUM Published 2022-05-17 Modified 2024-09-30 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