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.
{
"github_reviewed": true,
"severity": "MODERATE",
"cwe_ids": [
"CWE-79"
],
"nvd_published_at": "2010-07-02T19:00:00Z",
"github_reviewed_at": "2023-02-04T00:15:40Z"
}