{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-21366.json"
      }
    ],
    "title": "xmldom: incorrect parsing and serialization leads to unexpected behavior",
    "tracking": {
      "current_release_date": "2026-11-26T16:12:28+00:00",
      "generator": {
        "date": "2026-11-26T16:12:28+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.9"
        }
      },
      "id": "CVE-2021-21366",
      "initial_release_date": "2021-01-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-01-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2023-05-31T02:44:52+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-26T16:12:28+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat OpenShift Container Platform 3.11",
                "product": {
                  "name": "Red Hat OpenShift Container Platform 3.11",
                  "product_id": "red_hat_openshift_container_platform_3.11",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openshift:3.11"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenShift Container Platform 3.11"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat OpenShift Container Platform 4",
                "product": {
                  "name": "Red Hat OpenShift Container Platform 4",
                  "product_id": "red_hat_openshift_container_platform_4",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openshift:4"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenShift Container Platform 4"
          },
          {
            "category": "product_version",
            "name": "openshift3/ose-console",
            "product": {
              "name": "openshift3/ose-console",
              "product_id": "openshift3/ose-console",
              "product_identification_helper": {
                "purl": "pkg:oci/ose-console?repository_url=registry.redhat.io/openshift3/ose-console"
              }
            }
          },
          {
            "category": "product_version",
            "name": "openshift4/ose-console",
            "product": {
              "name": "openshift4/ose-console",
              "product_id": "openshift4/ose-console",
              "product_identification_helper": {
                "purl": "pkg:oci/ose-console?repository_url=registry.redhat.io/openshift4/ose-console"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openshift3/ose-console as a component of Red Hat OpenShift Container Platform 3.11",
          "product_id": "red_hat_openshift_container_platform_3.11:openshift3/ose-console"
        },
        "product_reference": "openshift3/ose-console",
        "relates_to_product_reference": "red_hat_openshift_container_platform_3.11"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openshift4/ose-console as a component of Red Hat OpenShift Container Platform 4",
          "product_id": "red_hat_openshift_container_platform_4:openshift4/ose-console"
        },
        "product_reference": "openshift4/ose-console",
        "relates_to_product_reference": "red_hat_openshift_container_platform_4"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-21366",
      "discovery_date": "2023-05-29T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_openshift_container_platform_3.11:openshift3/ose-console",
            "red_hat_openshift_container_platform_4:openshift4/ose-console"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2210851"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "xmldom: incorrect parsing and serialization leads to unexpected behavior",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "red_hat_openshift_container_platform_3.11:openshift3/ose-console",
          "red_hat_openshift_container_platform_4:openshift4/ose-console"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-21366"
        },
        {
          "category": "external",
          "summary": "RHBZ#2210851",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2210851"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-21366",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-21366"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-21366",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21366"
        },
        {
          "category": "external",
          "summary": "https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135",
          "url": "https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135"
        },
        {
          "category": "external",
          "summary": "https://github.com/xmldom/xmldom/releases/tag/0.5.0",
          "url": "https://github.com/xmldom/xmldom/releases/tag/0.5.0"
        },
        {
          "category": "external",
          "summary": "https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv",
          "url": "https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html",
          "url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html"
        },
        {
          "category": "external",
          "summary": "https://www.npmjs.com/package/xmldom",
          "url": "https://www.npmjs.com/package/xmldom"
        }
      ],
      "release_date": "2023-03-12T00:00:00+00:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
            "version": "3.1"
          },
          "products": [
            "red_hat_openshift_container_platform_3.11:openshift3/ose-console",
            "red_hat_openshift_container_platform_4:openshift4/ose-console"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_openshift_container_platform_3.11:openshift3/ose-console",
            "red_hat_openshift_container_platform_4:openshift4/ose-console"
          ]
        }
      ],
      "title": "xmldom: incorrect parsing and serialization leads to unexpected behavior"
    }
  ]
}