CVE-2014-6393
No Charset in Content-Type Header in express
Reported by mitre · Published August 9, 2017
express is fixed in 4.5.0 and 3.11.0 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| express | npm | 4.5.0, 3.11.0 |
| express | openjsf | 3.10.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| npm | express | 0, 4.0.0-rc1 |
Timeline
- Aug 9, 2017 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 10, 2026 Security Advisory
- Oct 18, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2014-6393
vulnetix vdb fixes CVE-2014-6393
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2014-6393/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-6393 advisory