Advisory

GHSA-7gfc-2v6g-6w9f

Also known as: CVE-2010-2477, PYSEC-2010-29

Summary

Paste is vulnerable to Cross-site Scripting via vectors involving a 404 status code

Details

Multiple cross-site scripting (XSS) vulnerabilities in the paste.httpexceptions implementation in Paste before 1.7.4 allow remote attackers to inject arbitrary web script or HTML via vectors involving a 404 status code, related to (1) paste.urlparser.StaticURLParser, (2) paste.urlparser.PkgResourcesParser, (3) paste.urlmap.URLMap, and (4) HTTPNotFound.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 05:45 UTC
Modified
2024-10-09 20:50 UTC

Affected packages and fixes

paste

PyPI · All systems

Affected

  • introduced 0, fixed 1.7.4 (ecosystem)

Fixed versions

1.7.4

Fix

  • Fixed version 1.7.4
    pip install --upgrade paste==1.7.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