ghsa-gpvr-g6gh-9mc2
Vulnerability from github
Published
2018-10-23 17:22
Modified
2021-08-02 22:35
Severity ?
VLAI Severity ?
Summary
No Charset in Content-Type Header in express
Details
Vulnerable versions of express do not specify a charset field in the content-type header while displaying 400 level response messages. The lack of enforcing user's browser to set correct charset, could be leveraged by an attacker to perform a cross-site scripting attack, using non-standard encodings, like UTF-7.
Recommendation
For express 3.x, update express to version 3.11 or later. For express 4.x, update express to version 4.5 or later.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "express" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.11.0" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "express" }, "ranges": [ { "events": [ { "introduced": "4.0.0" }, { "fixed": "4.5.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2014-6393" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:37:54Z", "nvd_published_at": "2017-08-09T18:29:00Z", "severity": "MODERATE" }, "details": "Vulnerable versions of express do not specify a charset field in the content-type header while displaying 400 level response messages. The lack of enforcing user\u0027s browser to set correct charset, could be leveraged by an attacker to perform a cross-site scripting attack, using non-standard encodings, like UTF-7.\n\n\n## Recommendation\n\nFor express 3.x, update express to version 3.11 or later.\nFor express 4.x, update express to version 4.5 or later. ", "id": "GHSA-gpvr-g6gh-9mc2", "modified": "2021-08-02T22:35:12Z", "published": "2018-10-23T17:22:54Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-6393" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1203190" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-gpvr-g6gh-9mc2" }, { "type": "WEB", "url": "https://www.npmjs.com/advisories/8" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "No Charset in Content-Type Header in express" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…