CVE-2014-6393: XSS

Published Mar 18, 2015
·
Updated

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.

Other sources

The following flaw was found in Express:

Vulnerable versions of express do not specify a charset field in the content-type heade 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.

This flaw is fixed in version 3.11 and 4.5 of Express.

External References:

https://nodesecurity.io/advisories/express-no-charset-in-content-type-header

Red Hat

Affected Software

17 affected componentsFixes available
redhat/express<3.11
3.11
redhat/express<4.5
4.5
Openjsf Express<=3.10.5
Openjsf Express=4.0.0
Openjsf Express=4.1.0
Openjsf Express=4.1.1
Openjsf Express=4.1.2
Openjsf Express=4.2.0
Openjsf Express=4.3.0
Openjsf Express=4.3.1
Openjsf Express=4.3.2
Openjsf Express=4.4.0
Openjsf Express=4.4.1
Openjsf Express=4.4.2
Openjsf Express=4.4.3
Openjsf Express=4.4.4
Openjsf Express=4.4.5

Event History

Mar 18, 2015
Data Sourced
via Red Hat·11:31 AM
DescriptionSeverityAffected Software
Aug 9, 2017
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2014-6393?

CVE-2014-6393 is considered a high severity vulnerability that may allow remote XSS attacks due to improper handling of the Content-Type header.

2

How do I fix CVE-2014-6393?

To fix CVE-2014-6393, upgrade the Express framework to version 3.11 or 4.5 or later.

3

Which versions of Express are affected by CVE-2014-6393?

CVE-2014-6393 affects Express versions prior to 3.11 and any version before 4.5.

4

Can CVE-2014-6393 lead to successful XSS attacks?

Yes, CVE-2014-6393 can allow attackers to conduct XSS attacks through non-standard encoding if exploited.

5

Is CVE-2014-6393 specific to Node.js applications?

Yes, CVE-2014-6393 specifically affects the Express web framework used in Node.js applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203