Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. express
  4. ›
  5. CVE-2014-6393

CVE-2014-6393: No Charset in Content-Type Header

August 9, 2017 (updated August 18, 2017)

Express do not specify a charset field in the content-type header while displaying 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.

References

  • cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-6393

Code Behaviors & Features

Detect and mitigate CVE-2014-6393 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.11.0, all versions starting from 4.0.0-rc1 before 4.5.0

Fixed versions

  • 3.11.0
  • 4.5.0

Solution

Upgrade to versions 3.11.0, 4.5.0 or above.

Impact 6.1 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/express/CVE-2014-6393.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:59 +0000.