Skip to content
OpenAdvisories
Medium · 6.1 CVE-2010-2480 EUVD-2010-0002GHSA-7q8x-38mc-p84fPYSEC-2010-1

Mako contains Cross-site Scripting vulnerability

Published Jul 2, 2010 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mako 0.3.4-1 —
Debian 13 mako 0.3.4-1 —
Debian 12 mako 0.3.4-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mako < 0.3.4 0.3.4 GHSA-7q8x-38mc-p84f

References