{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2021-21366","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","dateUpdated":"2024-08-03T18:09:16.000Z","dateReserved":"2020-12-22T00:00:00.000Z","datePublished":"2021-03-12T00:00:00.000Z"},"containers":{"cna":{"title":"Misinterpretation of malicious XML input","providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2023-01-01T00:00:00.000Z"},"descriptions":[{"lang":"en","value":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.4.0 and older do not correctly preserve system identifiers, FPIs or namespaces when repeatedly parsing and serializing maliciously crafted documents. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This is fixed in version 0.5.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents."}],"affected":[{"vendor":"xmldom","product":"xmldom","versions":[{"version":"< 0.5.0","status":"affected"}]}],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv"},{"url":"https://www.npmjs.com/package/xmldom"},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.5.0"},{"url":"https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135"},{"name":"[debian-lts-announce] 20230101 [SECURITY] [DLA 3260-1] node-xmldom security update","tags":["mailing-list"],"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-436 Interpretation Conflict","cweId":"CWE-436"}]},{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-115: Misinterpretation of Input","cweId":"CWE-115"}]}],"source":{"advisory":"GHSA-h6q6-9hqw-rwfv","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T18:09:16.000Z"},"title":"CVE Program Container","references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv","tags":["x_transferred"]},{"url":"https://www.npmjs.com/package/xmldom","tags":["x_transferred"]},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.5.0","tags":["x_transferred"]},{"url":"https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135","tags":["x_transferred"]},{"name":"[debian-lts-announce] 20230101 [SECURITY] [DLA 3260-1] node-xmldom security update","tags":["mailing-list","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html"}]}]}}