PT-2010-4051 · Python · Mako
Published
2010-07-02
·
Updated
2023-02-13
·
CVE-2010-2480
CVSS v4.0
5.3
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
Name of the Vulnerable Software and Affected Versions
Mako versions prior to 0.3.4
Description
The issue makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via vectors involving single-quote characters and a JavaScript onLoad event handler for a BODY element. This is because Mako relies on the cgi.escape function in the Python standard library for XSS protection.
Recommendations
For versions prior to 0.3.4, update to version 0.3.4 or later to resolve the issue. As a temporary workaround, consider implementing additional XSS protection measures to minimize the risk of exploitation.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mako