CVE-2014-6393
mediumpriority · track · 24EPSS 0.011 · 67 %ileEUUSEPSS · scored 2026-10-28
The Express web framework before 3.11 and 4.x before 4.5 for Node.js does not provide a charset field in HTTP Content-Type headers in 400 level responses, which might allow remote attackers to conduct cross-site scripting (XSS) attacks via characters in a non-standard encoding.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (18)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-gpvr-g6gh-9mc2No Charset in Content-Type Header in express2018-10-23ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://bugzilla.redhat.com/show_bug.cgi?id=1203190cnnvd
- https://nodesecurity.io/advisories/express-no-charset-in-content-type-headercnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1203190enisa_euvd
- https://nodesecurity.io/advisories/express-no-charset-in-content-type-headerenisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1203190Issue TrackingThird Party AdvisoryVDB Entrynvd
- https://nodesecurity.io/advisories/express-no-charset-in-content-type-headerThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan