# CVE-2010-2480: Mako contains Cross-site Scripting vulnerability

Source: https://junglewise.ai/threats/cve-2010-2480-mako-contains-cross-site-scripting-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2010-07-02  
License: CC BY 4.0 with a link back

CVE-2010-2480 · Severity: low · CVSS 3.1 · Published 2010-07-02

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.

Technologies: [Mako (PyPI)](https://junglewise.ai/threats/technologies/mako). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2010-2480 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2010-2480 being exploited in the wild.

**How severe is CVE-2010-2480?** Low severity, with a CVSS score of 3.1, published 2 July 2010.

**Which products and versions are affected?** Mako (PyPI) ECOSYSTEM:introduced=0,fixed=0.3.4.

**Is there a fix for CVE-2010-2480?** Yes. Mako (PyPI): upgrade to 0.3.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2010-2480?** Check whether you run Mako (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Mako (PyPI): upgrade to 0.3.4 or later

  ```sh
  pip install "Mako>=0.3.4"
  ```


## Affected products

- Mako (PyPI) ECOSYSTEM:introduced=0,fixed=0.3.4

## Identifiers

- CVE-2010-2480
- GHSA-7q8x-38mc-p84f
- PYSEC-2010-1

## Related threats

- [Mako template library path traversal via drive designator on Windows](https://junglewise.ai/threats/cve-2026-102991-mako-is-a-template-library-written-in-python-prior-to-1-4-2-on)
- [SQLAlchemy Mako path traversal on Windows via backslash URIs](https://junglewise.ai/threats/cve-2026-44307-mako-path-traversal-via-backslash-uri-on-windows-in)
- [SQLAlchemy Mako path traversal in TemplateLookup](https://junglewise.ai/threats/cve-2026-41205-sqlalchemy-mako-path-traversal-in-templatelookup)
- [mako is vulnerable to Regular Expression Denial of Service](https://junglewise.ai/threats/cve-2022-40023-mako-is-vulnerable-to-regular-expression-denial-of-service)
