{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"unimportant\"}"}}}], "affected": [{"vendor": "debian", "product": "node-express", "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2014-6393"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2017-08-09T18:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "npm", "product": "express", "versions": [{"status": "affected", "version": "0", "lessThan": "3.11.0", "versionType": "semver"}, {"status": "affected", "version": "4.0.0", "lessThan": "4.5.0", "versionType": "semver"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1203190"}, {"url": "https://github.com/advisories/GHSA-gpvr-g6gh-9mc2"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2014-6393"}, {"url": "https://www.npmjs.com/advisories/8"}], "descriptions": [{"lang": "en", "value": "No Charset in Content-Type Header in express"}, {"lang": "en", "value": "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. "}], "providerMetadata": {"orgId": "386269d4-a6c6-4eaa-bf8e-bc0b0d010558", "shortName": "npm", "dateUpdated": "2018-10-23T17:22:54Z", "x_subShortName": "npm"}}, {"metrics": [{"cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"medium\"}"}}}], "affected": [{"vendor": "canonical", "product": "node-express", "platforms": ["bionic"], "defaultStatus": "unknown"}, {"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://ubuntu.com/security/CVE-2014-6393"}, {"url": "https://www.cve.org/CVERecord?id=CVE-2014-6393"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "en", "value": "not defined"}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "canonical"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}, {"format": "CVSS", "cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW"}}], "affected": [{"cpes": ["cpe:2.3:a:openjsf:express:*:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.1.0:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.1.1:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.1.2:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.2.0:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.3.0:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.3.1:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.3.2:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.4.0:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.4.1:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.4.2:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.4.3:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.4.4:*:*:*:*:*:*:*", "cpe:2.3:a:openjsf:express:4.4.5:*:*:*:*:*:*:*"], "vendor": "openjsf", "product": "express", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "3.10.5"}, {"status": "affected", "version": "4.0.0"}, {"status": "affected", "version": "4.1.0"}, {"status": "affected", "version": "4.1.1"}, {"status": "affected", "version": "4.1.2"}, {"status": "affected", "version": "4.2.0"}, {"status": "affected", "version": "4.3.0"}, {"status": "affected", "version": "4.3.1"}, {"status": "affected", "version": "4.3.2"}, {"status": "affected", "version": "4.4.0"}, {"status": "affected", "version": "4.4.1"}, {"status": "affected", "version": "4.4.2"}, {"status": "affected", "version": "4.4.3"}, {"status": "affected", "version": "4.4.4"}, {"status": "affected", "version": "4.4.5"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1203190", "tags": ["issue-tracking", "third-party-advisory", "vdb-entry"]}, {"url": "https://nodesecurity.io/advisories/express-no-charset-in-content-type-header", "tags": ["third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "El framework web Express en versiones anteriores a la 3.11 y en versiones 4.x anteriores a la 4.5 para Node.js no proporciona un campo charset en los encabezados HTTP Content-Type en respuestas de nivel 400. Esto permitiría que atacantes remotos llevasen a cabo ataques de tipo cross-site scripting (XSS) mediante caracteres en una codificación no estándar."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-79", "description": "CWE-79"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2017-08-09T18:29:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2014-6393", "state": "PUBLISHED", "dateUpdated": "2025-04-20T01:37:25Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2017-08-09T18:29:00Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}