CVE-2019-5422 Cross-Site Scripting in buttle

Medium 6.1 Published Updated

An XSS vulnerability in the buttle npm package allows attackers to execute arbitrary code in victims' browsers by creating files on the server.

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
None listed

What is CVE-2019-5422?

CVE-2019-5422 is a medium-severity cross-site scripting vulnerability in Npm, Inc. buttle, published on 3 Apr 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

XSS in buttle npm package version 0.2.0 causes execution of attacker-provided code in the victim's browser when an attacker creates an arbitrary file on the server.

Weakness: CWE-79

Which versions are affected by CVE-2019-5422?

2 open source packages ship an affected version, including buttle. It affects 1 product.

PackageAffectedFixed in
buttle npmAll versions to 0.2.0None
buttle npmAll versions to 0.2.0None

Products include Buttle Project Buttle.

How do I fix CVE-2019-5422?

No fix has been published for CVE-2019-5422 yet. Limit exposure of the affected software until one is available.

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-5422 being exploited?

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

Sources

Also known as GHSA-gm29-35c7-8cfw.

Is CVE-2019-5422 in your software?

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

Check your SBOMs for free