CVE-2017-16880: Filp/whoops Cross-Site Scripting Vulnerability
MODERATECVE-2017-16880 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Filp/whoops libraries in the Packagist ecosystem. The issue involves filp whoops cross-site scripting vulnerability. Remediation is available by upgrading affected packages to version 2.1.13.
CVE-2017-16880 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2017-16880
To remediate this vulnerability, upgrade all affected Filp/whoops dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade filp/whoops to 2.1.13
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for filp/whoops
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-16880, inspect your project dependencies for Filp/whoops:
inspect dependencies for filp/whoops
Analyze the terminal output to locate any version of Filp/whoops in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.13), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Filp/whoops, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-16880 Affected Filp/whoops Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
filp/whoops
|
Packagist |
< 2.1.13
|
2.1.13
|
References
Frequently Asked Questions
What is CVE-2017-16880?
Which Filp/whoops versions are affected?
What version fixes CVE-2017-16880?
Is filp/whoops affected?
What is the CVSS score of CVE-2017-16880?
What CWE is associated with CVE-2017-16880?
How can I check Packagist dependencies for CVE-2017-16880?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2jjm-6whx-p8w4",
"modified" : "2024-04-23T22:58:15Z",
"published" : "2022-05-17T00:19:10Z",
"aliases" : [ "CVE-2017-16880" ],
"summary" : "filp whoops Cross-site Scripting vulnerability",
"details" : "The dump function in `Util/TemplateHelper.php` in filp whoops before 2.1.13 has a Cross-site Scripting vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "filp/whoops"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.13"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-16880"
}, {
"type" : "WEB",
"url" : "https://github.com/filp/whoops/commit/c16791d28d1ca3139e398145f0c6565c523c291a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/filp/whoops"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-23T22:58:15Z",
"nvd_published_at" : "2017-11-17T21:29:00Z"
}
}