PYSEC-2010-1

    Dashboard / Vulnerabilities / PYSEC-2010-1

    PYSEC-2010-1

    Published: 2 Jul 2010Last Modified: 10 Jun 2026

    Summary:

    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.

    Affected packages

    Package

    Name: mako

    Purl: pkg:pypi/mako

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.3.4

    Affected versions

    0.1.0
    0.1.1
    0.1.10
    0.1.2
    0.1.3
    0.1.4
    0.1.5
    0.1.6
    0.1.7
    0.1.8
    0.1.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2010-1 | CVE-DB