CVE-2019-13506 Cross-Site Scripting in @nuxt/devalue

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts via mishandled object keys in the devalue library used by Nuxt.js.

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

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

@nuxt/devalue before 1.2.3, as used in Nuxt.js before 2.6.2, mishandles object keys, leading to XSS.

Weakness: CWE-79

Which versions are affected by CVE-2019-13506?

2 open source packages ship an affected version, including @nuxt/devalue. It affects 2 products.

PackageAffectedFixed in
@nuxt/devalue npmAll versions1.2.3
@nuxt/devalue npmAll versions1.2.3

Products include Nuxtjs \@Nuxt\/Devalue, Nuxtjs Nuxt.js.

How do I fix CVE-2019-13506?

Upgrade @nuxt/devalue to 1.2.3 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-13506 being exploited?

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

Sources

Also known as GHSA-6677-83pp-f862.

Is CVE-2019-13506 in your software?

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

Check your SBOMs for free