Cross-site scripting in papermerge
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | papermerge | >= 1.2.0, < 1.5.2 | 1.5.2 |
References
- https://github.com/ciur/papermerge/issues/228
- https://www.papermerge.com/
- https://github.com/ciur/papermerge/releases/tag/v1.5.2
- https://github.com/advisories/GHSA-9w49-m7xh-5r39
- https://nvd.nist.gov/vuln/detail/CVE-2020-29456
- https://github.com/ciur/papermerge
- https://github.com/pypa/advisory-database/tree/main/vulns/papermerge/PYSEC-2020-74.yaml
- https://www.papermerge.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
papermerge- Disclosed
- 02.12.2020
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2020-74 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-9w49-m7xh-5r39 - CC BY 4.0
Vulnerability history: papermerge
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.