VDB
Sign up
—

PYSEC-2020-74

Quick fix

PYSEC-2020-74 — papermerge: upgrade to the fixed version with the command below.

pip install --upgrade 'papermerge>=1.5.2'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/papermerge
Introduced in: 1.2.0Fixed in: 1.5.2
Fixpip install --upgrade 'papermerge>=1.5.2'

References