Advisory

GHSA-7q8x-38mc-p84f

Also known as: CVE-2010-2480, PYSEC-2010-1

Summary

Mako contains Cross-site Scripting vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 05:48 UTC
Modified
2024-09-30 20:26 UTC

Affected packages and fixes

mako

PyPI · All systems

Affected

  • introduced 0, fixed 0.3.4 (ecosystem)

Fixed versions

0.3.4

Fix

  • Fixed version 0.3.4
    pip install --upgrade mako==0.3.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences