CVE-2019-15486 Cross-site Scripting in django-js-reverse

Medium 6.1 Published Updated

Cross-site scripting vulnerability in django-js-reverse allows attackers to inject malicious scripts via the js_reverse_inline function.

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-15486?

CVE-2019-15486 is a medium-severity cross-site scripting vulnerability in n/a, published on 23 Aug 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

django-js-reverse (aka Django JS Reverse) before 0.9.1 has XSS via js_reverse_inline.

Weakness: CWE-79

Which versions are affected by CVE-2019-15486?

3 open source packages ship an affected version, including django-js-reverse. It affects 1 product.

PackageAffectedFixed in
django-js-reverse PyPIAll versions0.9.1
django-js-reverse PyPIAll versions0.9.1
django-js-reverse PyPIAll versions0.9.1

Products include Django Js Reverse Project Django Js Reserve.

How do I fix CVE-2019-15486?

Upgrade django-js-reverse to 0.9.1 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-15486 being exploited?

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

Sources

Also known as GHSA-vx6v-2rg6-865h, PYSEC-2019-19, UBUNTU-CVE-2019-15486.

Is CVE-2019-15486 in your software?

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

Check your SBOMs for free