CVE-2019-1020019 Cross-site Scripting in invenio-previewer

Medium 6.1 Published Updated

An XSS vulnerability in the invenio-previewer library allows attackers to inject malicious scripts, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-1020019?

CVE-2019-1020019 is a medium-severity cross-site scripting vulnerability in invenio-previewer, published on 29 Jul 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

invenio-previewer before 1.0.0a12 allows XSS.

Weakness: CWE-79

Which versions are affected by CVE-2019-1020019?

3 open source packages ship an affected version, including invenio-previewer. It affects 1 product.

PackageAffectedFixed in
invenio-previewer PyPIAll versions1.0.0a12
invenio-previewer PyPIAll versions1.0.0a12
invenio-previewer PyPIAll versions1.0.0a12

Products include Inveniosoftware Invenio-Previewer.

How do I fix CVE-2019-1020019?

Upgrade invenio-previewer to 1.0.0a12 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2019-1020019 being exploited?

There is no known exploitation of CVE-2019-1020019 in the wild and no public exploit code.

Sources

Also known as GHSA-j9m2-6hq2-4r3c, PYSEC-2019-26.

Is CVE-2019-1020019 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free