QID 981815

QID 981815: Nodejs (npm) Security Update for express (GHSA-gpvr-g6gh-9mc2)

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.

Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.

  • CVSS V3 rated as High - 6.1 severity.
  • CVSS V2 rated as Medium - 4.3 severity.
  • Solution
    Customers are advised to refer to GHSA-gpvr-g6gh-9mc2 for updates pertaining to this vulnerability.
    Vendor References

    CVEs related to QID 981815

    Software Advisories
    Advisory ID Software Component Link
    GHSA-gpvr-g6gh-9mc2 express URL Logo github.com/advisories/GHSA-gpvr-g6gh-9mc2