gsd-2021-32796
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved in version 0.7.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.
Aliases
Aliases
{ GSD: { alias: "CVE-2021-32796", description: "xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved in version 0.7.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.", id: "GSD-2021-32796", }, gsd: { metadata: { exploitCode: "unknown", remediation: "unknown", reportConfidence: "confirmed", type: "vulnerability", }, osvSchema: { aliases: [ "CVE-2021-32796", ], details: "xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved in version 0.7.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.", id: "GSD-2021-32796", modified: "2023-12-13T01:23:09.271104Z", schema_version: "1.4.0", }, }, namespaces: { "cve.org": { CVE_data_meta: { ASSIGNER: "security-advisories@github.com", ID: "CVE-2021-32796", STATE: "PUBLIC", TITLE: "Misinterpretation of malicious XML input in xmldom", }, affects: { vendor: { vendor_data: [ { product: { product_data: [ { product_name: "xmldom", version: { version_data: [ { version_value: "< 0.7.0", }, ], }, }, ], }, vendor_name: "xmldom", }, ], }, }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "eng", value: "xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved in version 0.7.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.", }, ], }, impact: { cvss: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "NONE", baseScore: 6.5, baseSeverity: "MEDIUM", confidentialityImpact: "LOW", integrityImpact: "LOW", privilegesRequired: "NONE", scope: "UNCHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", version: "3.1", }, }, problemtype: { problemtype_data: [ { description: [ { lang: "eng", value: "CWE-116: Improper Encoding or Escaping of Output", }, ], }, ], }, references: { reference_data: [ { name: "https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/", refsource: "MISC", url: "https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/", }, { name: "https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q", refsource: "CONFIRM", url: "https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q", }, { name: "https://github.com/xmldom/xmldom/commit/7b4b743917a892d407356e055b296dcd6d107e8b", refsource: "MISC", url: "https://github.com/xmldom/xmldom/commit/7b4b743917a892d407356e055b296dcd6d107e8b", }, ], }, source: { advisory: "GHSA-5fg8-2547-mr8q", discovery: "UNKNOWN", }, }, "gitlab.com": { advisories: [ { affected_range: "<0.7.0", affected_versions: "All versions before 0.7.0", cvss_v2: "AV:N/AC:L/Au:N/C:N/I:P/A:N", cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", cwe_ids: [ "CWE-1035", "CWE-116", "CWE-937", ], date: "2022-04-25", description: "xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved in version 0.7.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.", fixed_versions: [ "0.7.0", ], identifier: "CVE-2021-32796", identifiers: [ "CVE-2021-32796", "GHSA-5fg8-2547-mr8q", ], not_impacted: "All versions starting from 0.7.0", package_slug: "npm/@xmldom/xmldom", pubdate: "2021-07-27", solution: "Upgrade to version 0.7.0 or above.", title: "Improper Encoding or Escaping of Output", urls: [ "https://nvd.nist.gov/vuln/detail/CVE-2021-32796", "https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/", "https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q", "https://github.com/xmldom/xmldom/commit/7b4b743917a892d407356e055b296dcd6d107e8b", ], uuid: "57e4fc12-9ec6-4d66-93de-e62b08b07f2a", }, { affected_range: "<0.7.0", affected_versions: "All versions before 0.7.0", cvss_v2: "AV:N/AC:L/Au:N/C:N/I:P/A:N", cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", cwe_ids: [ "CWE-1035", "CWE-116", "CWE-937", ], date: "2022-04-25", description: "xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved As a workaround downstream applications can validate the input and reject the maliciously crafted documents.", fixed_versions: [], identifier: "CVE-2021-32796", identifiers: [ "CVE-2021-32796", "GHSA-5fg8-2547-mr8q", ], not_impacted: "", package_slug: "npm/xmldom", pubdate: "2021-07-27", solution: "Unfortunately, there is no solution available yet.", title: "Improper Encoding or Escaping of Output", urls: [ "https://nvd.nist.gov/vuln/detail/CVE-2021-32796", ], uuid: "b2950482-1938-42af-8e63-226375a67814", }, ], }, "nvd.nist.gov": { configurations: { CVE_data_version: "4.0", nodes: [ { children: [], cpe_match: [ { cpe23Uri: "cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*", cpe_name: [], versionEndExcluding: "0.7.0", vulnerable: true, }, ], operator: "OR", }, ], }, cve: { CVE_data_meta: { ASSIGNER: "security-advisories@github.com", ID: "CVE-2021-32796", }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "en", value: "xmldom is an open source pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.6.0 and older do not correctly escape special characters when serializing elements removed from their ancestor. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This issue has been resolved in version 0.7.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.", }, ], }, problemtype: { problemtype_data: [ { description: [ { lang: "en", value: "CWE-116", }, { lang: "en", value: "CWE-91", }, ], }, ], }, references: { reference_data: [ { name: "https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/", refsource: "MISC", tags: [ "Not Applicable", "Third Party Advisory", ], url: "https://mattermost.com/blog/coordinated-disclosure-go-xml-vulnerabilities/", }, { name: "https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q", refsource: "CONFIRM", tags: [ "Third Party Advisory", ], url: "https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q", }, { name: "https://github.com/xmldom/xmldom/commit/7b4b743917a892d407356e055b296dcd6d107e8b", refsource: "MISC", tags: [ "Patch", "Third Party Advisory", ], url: "https://github.com/xmldom/xmldom/commit/7b4b743917a892d407356e055b296dcd6d107e8b", }, ], }, }, impact: { baseMetricV2: { acInsufInfo: false, cvssV2: { accessComplexity: "LOW", accessVector: "NETWORK", authentication: "NONE", availabilityImpact: "NONE", baseScore: 5, confidentialityImpact: "NONE", integrityImpact: "PARTIAL", vectorString: "AV:N/AC:L/Au:N/C:N/I:P/A:N", version: "2.0", }, exploitabilityScore: 10, impactScore: 2.9, obtainAllPrivilege: false, obtainOtherPrivilege: false, obtainUserPrivilege: false, severity: "MEDIUM", userInteractionRequired: false, }, baseMetricV3: { cvssV3: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "NONE", baseScore: 5.3, baseSeverity: "MEDIUM", confidentialityImpact: "NONE", integrityImpact: "LOW", privilegesRequired: "NONE", scope: "UNCHANGED", userInteraction: "NONE", vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", version: "3.1", }, exploitabilityScore: 3.9, impactScore: 1.4, }, }, lastModifiedDate: "2022-04-25T17:25Z", publishedDate: "2021-07-27T22:15Z", }, }, }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.