CVE-2019-1020005 Cross-site Scripting in invenio-communities

Medium 5.4 Published Updated

Cross-site scripting vulnerability in Invenio communities allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.

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

What is CVE-2019-1020005?

CVE-2019-1020005 is a medium-severity cross-site scripting vulnerability in invenio-communities, published on 29 Jul 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

invenio-communities before 1.0.0a20 allows XSS.

Weakness: CWE-79

Which versions are affected by CVE-2019-1020005?

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

PackageAffectedFixed in
invenio-communities PyPIAll versions1.0.0a20
invenio-communities PyPIAll versions1.0.0a20
invenio-communities PyPIAll versions1.0.0a20

Products include Inveniosoftware Invenio-Communities.

How do I fix CVE-2019-1020005?

Upgrade invenio-communities to 1.0.0a20 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-1020005 being exploited?

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

Sources

Also known as GHSA-mfv8-q39f-mgfg, PYSEC-2019-25.

Is CVE-2019-1020005 in your software?

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

Check your SBOMs for free