{"id":"CVE-2014-6393","aliases":["CLSA-2026-1792473577","CLSA-2026-1793832892","CLSA-2026-1793833558","DEBIAN-CVE-2014-6393","EUVD-2018-0603","GHSA-gpvr-g6gh-9mc2","UBUNTU-CVE-2014-6393"],"status":"published","title":"No Charset in Content-Type Header in express","description":"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.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01144,"percentile":0.66934,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2017-08-09T18:00:00Z","modified":"2026-11-05T13:15:13Z","fixes":[{"ecosystem":"npm","package":"express","fixed_in":["3.11.0","4.5.0"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"connect","fixed_in":["2.12.0-tuxcare.3"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"node-express","fixed_in":["4.16.4-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-express","fixed_in":["4.16.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-express","fixed_in":["4.16.4-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.11.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.5.0"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.2-tuxcare.0"},{"fixed":"3.1.2-tuxcare.1"}]}],"versions":["3.1.2"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"connect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.12.0-tuxcare.0"},{"fixed":"2.12.0-tuxcare.3"}]}],"versions":["2.12.0","2.12.0-tuxcare.1","2.12.0-tuxcare.2"]},{"source":"osv","ecosystem":"TuxCare:npm","package":"express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.8-tuxcare.0"},{"fixed":"3.4.8-tuxcare.3"}]}],"versions":["3.4.8","3.4.8-tuxcare.1","3.4.8-tuxcare.2"],"bundled":2},{"source":"osv","ecosystem":"Debian:12","package":"node-express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.16.4-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.16.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.16.4-1"}]}]},{"source":"osv","ecosystem":"npm","package":"express","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.11.0"}]}]},{"source":"osv","ecosystem":"npm","package":"express","ranges":[{"type":"SEMVER","events":[{"introduced":"4.0.0"},{"fixed":"4.5.0"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"node-express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.1~dfsg-1","4.1.1~dfsg-1ubuntu0.16.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"node-express","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.1~dfsg-1","4.1.1~dfsg-1ubuntu0.18.04.1~esm1"]}],"products":[{"vendor":"openjsf","product":"express"}],"references":[{"url":"https://nodesecurity.io/advisories/express-no-charset-in-content-type-header","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1203190","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","VDB Entry","advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-6393","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gpvr-g6gh-9mc2","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/8","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2014-6393","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2014-6393","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-6393","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-6393","description":"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.","status":"published","published":"2017-08-09T18:00:00Z","modified":"2024-08-06T12:17:23.956Z","updated_at":"2026-11-02T14:33:45.263043Z"}],"euvd":[{"id":"EUVD-2018-0603","description":"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.","status":"published","published":"2017-08-09T18:00:00Z","modified":"2024-08-06T12:17:23Z","updated_at":"2026-11-03T01:56:59.08355Z"}],"ghsa":[{"id":"GHSA-gpvr-g6gh-9mc2","title":"No Charset in Content-Type Header in express","description":"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.\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. ","status":"published","published":"2018-10-23T17:22:54Z","modified":"2023-02-01T05:03:41Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:31.364752Z"}],"nvd":[{"id":"CVE-2014-6393","description":"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.","status":"published","published":"2017-08-09T18:29:00.48Z","modified":"2026-06-17T00:13:00.98Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:02:59.001778Z"}],"osv":[{"id":"CVE-2014-6393","description":"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.","status":"published","published":"2017-08-09T18:29:00Z","modified":"2026-04-10T03:43:59.990634Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:43:59.654289Z"},{"id":"DEBIAN-CVE-2014-6393","description":"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.","status":"published","published":"2017-08-09T18:29:00.48Z","modified":"2026-10-23T16:01:56.630616435Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:26.134753Z"},{"id":"GHSA-gpvr-g6gh-9mc2","title":"No Charset in Content-Type Header in express","description":"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.\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. ","status":"published","published":"2018-10-23T17:22:54Z","modified":"2023-11-08T03:57:43.877257Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"UBUNTU-CVE-2014-6393","description":"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.","status":"published","published":"2017-08-09T18:29:00Z","modified":"2025-09-08T16:43:13Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:09.378953Z"},{"id":"CLSA-2026-1792473577","title":"TuxCare security update for express (2 CVEs)","description":"TuxCare rebuilt express to address 2 CVEs. Fixed in 3.1.2-tuxcare.1.","status":"published","published":"2026-10-20T05:19:37Z","modified":"2026-10-20T07:15:15.38880426Z","updated_at":"2026-11-02T15:43:54.378946Z"},{"id":"CLSA-2026-1793832892","title":"TuxCare security update for connect (1 CVE)","description":"TuxCare rebuilt connect to address 1 CVE. Fixed in 2.12.0-tuxcare.3.","status":"published","published":"2026-11-04T23:54:53Z","modified":"2026-11-05T01:00:03.596069006Z","updated_at":"2026-11-05T01:12:05.565404Z"},{"id":"CLSA-2026-1793833558","title":"TuxCare security update for express (2 CVEs)","description":"TuxCare rebuilt express to address 2 CVEs. Fixed in 3.4.8-tuxcare.3.","status":"published","published":"2026-11-05T00:06:00Z","modified":"2026-11-05T13:15:13.562947134Z","updated_at":"2026-11-05T13:30:00.949926Z"}]}}
