Advisory

GHSA-9w49-m7xh-5r39

Also known as: CVE-2020-29456, PYSEC-2020-74

Summary

Cross-site scripting in papermerge

Details

Multiple cross-site scripting (XSS) vulnerabilities in Papermerge before 1.5.2 allow remote attackers to inject arbitrary web script or HTML via the rename, tag, upload, or create folder function. The payload can be in a folder, a tag, or a document's filename. If email consumption is configured in Papermerge, a malicious document can be sent by email and is automatically uploaded into the Papermerge web application. Therefore, no authentication is required to exploit XSS if email consumption is configured. Otherwise authentication is required.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-20 16:37 UTC
Modified
2024-10-09 20:24 UTC

Affected packages and fixes

papermerge

PyPI · All systems

Affected

  • introduced 1.2.0, fixed 1.5.2 (ecosystem)

Fixed versions

1.5.2

Fix

  • Fixed version 1.5.2
    pip install --upgrade papermerge==1.5.2

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