CVE-2017-16880 filp whoops Cross-site Scripting vulnerability

Medium 6.1 Published Updated

Cross-site scripting vulnerability in the dump function of the Whoops PHP library allows attackers to inject malicious scripts.

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-2017-16880?

CVE-2017-16880 is a medium-severity cross-site scripting vulnerability in n/a, published on 17 Nov 2017. 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

The dump function in Util/TemplateHelper.php in filp whoops before 2.1.13 has XSS.

Weakness: CWE-79

Which versions are affected by CVE-2017-16880?

2 open source packages ship an affected version, including filp/whoops. It affects 1 product.

PackageAffectedFixed in
filp/whoops PackagistAll versions2.1.13
filp/whoops PackagistAll versions2.1.13

Products include Whoops Project Whoops.

How do I fix CVE-2017-16880?

Upgrade filp/whoops to 2.1.13 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-2017-16880 being exploited?

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

Sources

Also known as GHSA-2jjm-6whx-p8w4.

Is CVE-2017-16880 in your software?

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

Check your SBOMs for free