Common Weakness Enumeration

CWE-91

Weakness Allowed-with-Review

XML Injection

Abstraction: Base · Status: Draft

The product does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system.

Within XML, special elements could include reserved words or characters such as "<", ">", """, and "&", which could then be used to add new data or modify XML syntax.

Mapping guidance

This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.

This weakness might be confused with other weaknesses such as XXE. Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.

Relationships and members
ChildOf: CWE-74 · View CWE-1000
ChildOf: CWE-74 · View CWE-1003
Modes of introduction
Implementation

REALIZATION: This weakness is caused during implementation of an architectural security tactic.

Detection methods

Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Effectiveness: High

Notes

Maintenance

The description for this entry is generally applicable to XML, but the name includes "blind XPath injection" which is more closely associated with CWE-643. Therefore this entry might need to be deprecated or converted to a general category - although injection into raw XML is not covered by CWE-643 or CWE-652.

Theoretical

In vulnerability theory terms, this is a representation-specific case of a Data/Directive Boundary Error.

Research Gap

Under-reported. This is likely found regularly by third party code auditors, but there are very few publicly reported examples.

Content history
Submission: PLOVER · 2006-07-19 · CWE Draft 3
Modification: Eric Dalci · Cigital · 2008-07-01 · CWE 1.0

updated Time_of_Introduction

Modification: · Veracode · 2008-08-15 · CWE 1.0

Suggested OWASP Top Ten 2004 mapping

Modification: CWE Content Team · MITRE · 2008-09-08 · CWE 1.0

updated Relationships, Other_Notes, Taxonomy_Mappings

Modification: CWE Content Team · MITRE · 2008-10-14 · CWE 1.0.1

updated Maintenance_Notes, Other_Notes, Theoretical_Notes

Modification: CWE Content Team · MITRE · 2010-02-16 · CWE 1.8

updated Taxonomy_Mappings

Modification: CWE Content Team · MITRE · 2010-06-21 · CWE 1.9

updated Description, Relationships

Modification: CWE Content Team · MITRE · 2011-06-01 · CWE 1.13

updated Common_Consequences

Modification: CWE Content Team · MITRE · 2012-05-11 · CWE 2.2

updated References, Relationships

Modification: CWE Content Team · MITRE · 2012-10-30 · CWE 2.3

updated Potential_Mitigations

Modification: CWE Content Team · MITRE · 2014-02-18 · CWE 2.6

updated Related_Attack_Patterns

Modification: CWE Content Team · MITRE · 2014-06-23 · CWE 2.7

updated Relationships

Modification: CWE Content Team · MITRE · 2014-07-30 · CWE 2.8

updated Relationships, Taxonomy_Mappings

Modification: CWE Content Team · MITRE · 2015-12-07 · CWE 2.9

updated Relationships

Modification: CWE Content Team · MITRE · 2017-11-08 · CWE 3.0

updated Applicable_Platforms, Modes_of_Introduction, References, Relationships

Modification: CWE Content Team · MITRE · 2018-03-27 · CWE 3.1

updated Relationships

Modification: CWE Content Team · MITRE · 2019-06-20 · CWE 3.3

updated Related_Attack_Patterns

Modification: CWE Content Team · MITRE · 2020-02-24 · CWE 4.0

updated Potential_Mitigations, Related_Attack_Patterns, Relationships

Modification: CWE Content Team · MITRE · 2020-06-25 · CWE 4.1

updated Potential_Mitigations

Modification: CWE Content Team · MITRE · 2020-08-20 · CWE 4.2

updated Relationships

Modification: CWE Content Team · MITRE · 2020-12-10 · CWE 4.3

updated Relationships

Modification: CWE Content Team · MITRE · 2021-10-28 · CWE 4.6

updated Relationships

Modification: CWE Content Team · MITRE · 2023-01-31 · CWE 4.10

updated Description

Modification: CWE Content Team · MITRE · 2023-04-27 · CWE 4.11

updated Detection_Factors, References, Relationships, Time_of_Introduction

Modification: CWE Content Team · MITRE · 2023-06-29 · CWE 4.12

updated Mapping_Notes

Modification: CWE Content Team · MITRE · 2025-12-11 · CWE 4.19

updated Relationships, Weakness_Ordinalities

Modification: CWE Content Team · MITRE · 2026-04-30 · CWE 4.20

updated Mapping_Notes

Modification: CWE Content Team · MITRE · 2026-10-28 · CWE 5.0

updated Alternate_Terms, Name, References

263 vulnerabilities reference this CWE, most recent first.

CVE-2026-83608 (GCVE-0-2026-83608)

Vulnerability from cvelistv5 – Published: 2026-09-01 14:27 – Updated: 2026-09-04 01:56
VLAI
Title
xmldom: DocType `name` Injection Bypasses requireWellFormed
Summary
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom version 0.6.0 and earlier, the DOCUMENT_TYPE_NODE branch in lib/dom.js validates publicId, systemId, and internalSubset under requireWellFormed: true but emits DocumentType.name verbatim. A name containing > or whitespace can terminate the <!DOCTYPE ...> declaration and inject sibling markup; the value can be supplied through createDocumentType() on the 0.8.x and unscoped lines or through a direct DocumentType.name property write on every affected line. The default path and legacy creation-time behavior remain permissive, while the vulnerable strict path fails to enforce an XML Name. This issue is fixed in @xmldom/xmldom versions 0.8.15 and 0.9.12; no fixed version is available for xmldom.
SSVC
Exploitation: poc Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-04 01:55 UTC
CWE
  • CWE-91 - XML Injection (aka Blind XPath Injection)
Assigner
GitHub_M CNA under the mitre root
CNA scorecard C 72/100 over 7807 records in the last 180 days details
Impacted products
Vendor Product Version
xmldom xmldom Affected: <= 0.6.0
Create a notification for this product.
@xmldom xmldom Affected: >= 0.9.0, < 0.9.12
Affected: >= 0.7.0, < 0.8.15
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-83608",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-04T01:55:40.466309Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-04T01:56:15.954Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/xmldom/xmldom/security/advisories/GHSA-27p8-2357-5qqv"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "xmldom",
          "vendor": "xmldom",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c= 0.6.0"
            }
          ]
        },
        {
          "product": "xmldom",
          "vendor": "@xmldom",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 0.9.0, \u003c 0.9.12"
            },
            {
              "status": "affected",
              "version": "\u003e= 0.7.0, \u003c 0.8.15"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom version 0.6.0 and earlier, the DOCUMENT_TYPE_NODE branch in lib/dom.js validates publicId, systemId, and internalSubset under requireWellFormed: true but emits DocumentType.name verbatim. A name containing \u003e or whitespace can terminate the \u003c!DOCTYPE ...\u003e declaration and inject sibling markup; the value can be supplied through createDocumentType() on the 0.8.x and unscoped lines or through a direct DocumentType.name property write on every affected line. The default path and legacy creation-time behavior remain permissive, while the vulnerable strict path fails to enforce an XML Name. This issue is fixed in @xmldom/xmldom versions 0.8.15 and 0.9.12; no fixed version is available for xmldom."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91: XML Injection (aka Blind XPath Injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-01T14:27:26.057Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/xmldom/xmldom/security/advisories/GHSA-27p8-2357-5qqv",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/xmldom/xmldom/security/advisories/GHSA-27p8-2357-5qqv"
        },
        {
          "name": "https://github.com/xmldom/xmldom/pull/1071",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/pull/1071"
        },
        {
          "name": "https://github.com/xmldom/xmldom/pull/1072",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/pull/1072"
        },
        {
          "name": "https://github.com/xmldom/xmldom/commit/57aec90ac57b4408ae7c5d1746bf2a693b5ed90e",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/commit/57aec90ac57b4408ae7c5d1746bf2a693b5ed90e"
        },
        {
          "name": "https://github.com/xmldom/xmldom/commit/85f12eb4d14b44de33216cfb72b50af4d24e9fdd",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/commit/85f12eb4d14b44de33216cfb72b50af4d24e9fdd"
        },
        {
          "name": "https://github.com/xmldom/xmldom/releases/tag/0.8.15",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/releases/tag/0.8.15"
        },
        {
          "name": "https://github.com/xmldom/xmldom/releases/tag/0.9.12",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/releases/tag/0.9.12"
        }
      ],
      "source": {
        "advisory": "GHSA-27p8-2357-5qqv",
        "discovery": "UNKNOWN"
      },
      "title": "xmldom: DocType `name` Injection Bypasses requireWellFormed"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-83608",
    "datePublished": "2026-09-01T14:27:26.057Z",
    "dateReserved": "2026-08-31T20:36:25.743Z",
    "dateUpdated": "2026-09-04T01:56:15.954Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-83607 (GCVE-0-2026-83607)

Vulnerability from cvelistv5 – Published: 2026-09-01 14:23 – Updated: 2026-09-01 15:28
VLAI
Title
xmldom: Element name injection via createElement() bypasses requireWellFormed
Summary
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.14 and 0.9.11, and in xmldom version 0.6.0 and earlier, Document.createElement(tagName) stores an unvalidated element name and XMLSerializer.serializeToString() emits that name verbatim. The requireWellFormed: true path did not validate the element qualified name or synthesized xmlns:PREFIX declaration, so attacker-controlled tag names could inject attributes, elements, or processing instructions into serialized XML or HTML and could cause cross-site scripting when browser-consumed. The unchecked values violate the XML QName constraint, and default serialization and creation-time createElement() behavior remain permissive. This issue is fixed in @xmldom/xmldom versions 0.8.14 and 0.9.11; no fixed version is available for xmldom.
SSVC
Exploitation: poc Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-01 15:28 UTC
CWE
  • CWE-91 - XML Injection (aka Blind XPath Injection)
Assigner
GitHub_M CNA under the mitre root
CNA scorecard C 72/100 over 7807 records in the last 180 days details
Impacted products
Vendor Product Version
xmldom xmldom Affected: <= 0.6.0
Create a notification for this product.
@xmldom xmldom Affected: >= 0.7.0, < 0.8.14
Affected: >= 0.9.0, < 0.9.11
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-83607",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-01T15:28:20.162507Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-01T15:28:37.947Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/xmldom/xmldom/security/advisories/GHSA-w2rr-34g9-rvrj"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "xmldom",
          "vendor": "xmldom",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c= 0.6.0"
            }
          ]
        },
        {
          "product": "xmldom",
          "vendor": "@xmldom",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 0.7.0, \u003c 0.8.14"
            },
            {
              "status": "affected",
              "version": "\u003e= 0.9.0, \u003c 0.9.11"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.14 and 0.9.11, and in xmldom version 0.6.0 and earlier, Document.createElement(tagName) stores an unvalidated element name and XMLSerializer.serializeToString() emits that name verbatim. The requireWellFormed: true path did not validate the element qualified name or synthesized xmlns:PREFIX declaration, so attacker-controlled tag names could inject attributes, elements, or processing instructions into serialized XML or HTML and could cause cross-site scripting when browser-consumed. The unchecked values violate the XML QName constraint, and default serialization and creation-time createElement() behavior remain permissive. This issue is fixed in @xmldom/xmldom versions 0.8.14 and 0.9.11; no fixed version is available for xmldom."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91: XML Injection (aka Blind XPath Injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-01T14:23:58.797Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/xmldom/xmldom/security/advisories/GHSA-w2rr-34g9-rvrj",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/xmldom/xmldom/security/advisories/GHSA-w2rr-34g9-rvrj"
        },
        {
          "name": "https://github.com/xmldom/xmldom/pull/1043",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/pull/1043"
        },
        {
          "name": "https://github.com/xmldom/xmldom/pull/1050",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/pull/1050"
        },
        {
          "name": "https://github.com/xmldom/xmldom/commit/cba1321218b069182695813fa7565653708e172e",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/commit/cba1321218b069182695813fa7565653708e172e"
        },
        {
          "name": "https://github.com/xmldom/xmldom/commit/d8212e632507eaf1d9f609657dd4c56abeb12d44",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/commit/d8212e632507eaf1d9f609657dd4c56abeb12d44"
        },
        {
          "name": "https://github.com/xmldom/xmldom/releases/tag/0.8.14",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/releases/tag/0.8.14"
        },
        {
          "name": "https://github.com/xmldom/xmldom/releases/tag/0.9.11",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/releases/tag/0.9.11"
        }
      ],
      "source": {
        "advisory": "GHSA-w2rr-34g9-rvrj",
        "discovery": "UNKNOWN"
      },
      "title": "xmldom: Element name injection via createElement() bypasses requireWellFormed"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-83607",
    "datePublished": "2026-09-01T14:23:58.797Z",
    "dateReserved": "2026-08-31T20:36:25.743Z",
    "dateUpdated": "2026-09-01T15:28:37.947Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-83605 (GCVE-0-2026-83605)

Vulnerability from cvelistv5 – Published: 2026-09-01 14:18 – Updated: 2026-09-03 17:35
VLAI
Title
xmldom: Attribute name injection via setAttribute() bypasses requireWellFormed
Summary
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.14 and 0.9.11, and in xmldom version 0.6.0 and earlier, Element.setAttribute() calls the private _createAttribute(name) path without validating the attribute name, while Document.createAttribute(name) validates against QName. XMLSerializer.serializeToString() emits attribute names verbatim, and requireWellFormed: true did not validate them, so a crafted name can terminate the intended attribute and inject additional attributes, including event handlers, into browser-consumed output; synthesized xmlns:PREFIX declarations expose the same unchecked-name boundary. This issue is fixed in @xmldom/xmldom versions 0.8.14 and 0.9.11; no fixed version is available for xmldom.
SSVC
Exploitation: poc Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-03 17:35 UTC
CWE
  • CWE-91 - XML Injection (aka Blind XPath Injection)
Assigner
GitHub_M CNA under the mitre root
CNA scorecard C 72/100 over 7807 records in the last 180 days details
Impacted products
Vendor Product Version
xmldom xmldom Affected: <= 0.6.0
Create a notification for this product.
@xmldom xmldom Affected: >= 0.7.0, < 0.8.14
Affected: >= 0.9.0, < 0.9.11
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-83605",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-03T17:35:48.291463Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-03T17:35:55.385Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/xmldom/xmldom/security/advisories/GHSA-4w3w-2rp5-g8jm"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "xmldom",
          "vendor": "xmldom",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c= 0.6.0"
            }
          ]
        },
        {
          "product": "xmldom",
          "vendor": "@xmldom",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 0.7.0, \u003c 0.8.14"
            },
            {
              "status": "affected",
              "version": "\u003e= 0.9.0, \u003c 0.9.11"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.14 and 0.9.11, and in xmldom version 0.6.0 and earlier, Element.setAttribute() calls the private _createAttribute(name) path without validating the attribute name, while Document.createAttribute(name) validates against QName. XMLSerializer.serializeToString() emits attribute names verbatim, and requireWellFormed: true did not validate them, so a crafted name can terminate the intended attribute and inject additional attributes, including event handlers, into browser-consumed output; synthesized xmlns:PREFIX declarations expose the same unchecked-name boundary. This issue is fixed in @xmldom/xmldom versions 0.8.14 and 0.9.11; no fixed version is available for xmldom."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91: XML Injection (aka Blind XPath Injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-01T14:18:20.752Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/xmldom/xmldom/security/advisories/GHSA-4w3w-2rp5-g8jm",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/xmldom/xmldom/security/advisories/GHSA-4w3w-2rp5-g8jm"
        },
        {
          "name": "https://github.com/xmldom/xmldom/pull/1043",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/pull/1043"
        },
        {
          "name": "https://github.com/xmldom/xmldom/pull/1050",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/pull/1050"
        },
        {
          "name": "https://github.com/xmldom/xmldom/commit/cba1321218b069182695813fa7565653708e172e",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/commit/cba1321218b069182695813fa7565653708e172e"
        },
        {
          "name": "https://github.com/xmldom/xmldom/commit/d8212e632507eaf1d9f609657dd4c56abeb12d44",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/commit/d8212e632507eaf1d9f609657dd4c56abeb12d44"
        },
        {
          "name": "https://github.com/xmldom/xmldom/releases/tag/0.8.14",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/releases/tag/0.8.14"
        },
        {
          "name": "https://github.com/xmldom/xmldom/releases/tag/0.9.11",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/xmldom/xmldom/releases/tag/0.9.11"
        }
      ],
      "source": {
        "advisory": "GHSA-4w3w-2rp5-g8jm",
        "discovery": "UNKNOWN"
      },
      "title": "xmldom: Attribute name injection via setAttribute() bypasses requireWellFormed"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-83605",
    "datePublished": "2026-09-01T14:18:20.752Z",
    "dateReserved": "2026-08-31T20:36:25.743Z",
    "dateUpdated": "2026-09-03T17:35:55.385Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-80270 (GCVE-0-2026-80270)

Vulnerability from cvelistv5 – Published: 2026-11-25 09:18 – Updated: 2026-11-25 12:33
VLAI
Summary
Dell Secure Connect Gateway (SCG) Virtual Edition, versions prior to 5.36.00.16, contains an XML Injection vulnerability. An attacker with local access could potentially exploit this vulnerability, leading to unauthorized data access or manipulation.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-25 12:32 UTC
CWE
  • CWE-91 - XML Injection (aka Blind XPath Injection)
Assigner
dell CNA under the mitre root
CNA scorecard C 69/100 over 726 records in the last 180 days details
References
Impacted products
Vendor Product Version
Dell Secure Connect Gateway Affected: 0 , < 5.36.00.16 or later (semver)
Create a notification for this product.
Date Public
2026-08-31 06:30
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-80270",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-25T12:32:11.591486Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-25T12:33:25.021Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Secure Connect Gateway",
          "vendor": "Dell",
          "versions": [
            {
              "lessThan": "5.36.00.16 or later",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "datePublic": "2026-08-31T06:30:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Dell Secure Connect Gateway (SCG) Virtual Edition, versions prior to 5.36.00.16, contains an XML Injection vulnerability. An attacker with local access could potentially exploit this vulnerability, leading to unauthorized data access or manipulation."
            }
          ],
          "value": "Dell Secure Connect Gateway (SCG) Virtual Edition, versions prior to 5.36.00.16, contains an XML Injection vulnerability. An attacker with local access could potentially exploit this vulnerability, leading to unauthorized data access or manipulation."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 5.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91: XML Injection (aka Blind XPath Injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-25T09:18:11.424Z",
        "orgId": "c550e75a-17ff-4988-97f0-544cde3820fe",
        "shortName": "dell"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://www.dell.com/support/kbdoc/en-us/000503504/dsa-2026-386-security-update-for-dell-secure-connect-gateway-virtual-edition-multiple-vulnerabilities"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "c550e75a-17ff-4988-97f0-544cde3820fe",
    "assignerShortName": "dell",
    "cveId": "CVE-2026-80270",
    "datePublished": "2026-11-25T09:18:11.424Z",
    "dateReserved": "2026-08-26T07:04:30.653Z",
    "dateUpdated": "2026-11-25T12:33:25.021Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-76979 (GCVE-0-2026-76979)

Vulnerability from cvelistv5 – Published: 2026-09-23 12:22 – Updated: 2026-09-23 16:46
VLAI
Title
XML Injection vulnerability
Summary
ZohoCorp ManageEngine OpManager and Firewall Analyzer versions 12.8.709 and below were vulnerable to an XML Injection vulnerability in the Rule Tracking Compare Policies feature.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-23 13:01 UTC
CWE
  • CWE-91 - XML injection (aka blind XPath injection)
Assigner
Zohocorp CNA under the mitre root
CNA scorecard C 74/100 over 70 records in the last 180 days details
Impacted products
Vendor Product Version
Zohocorp ManageEngine OpManager Affected: 0 , < 12.8.710 (custom)
    cpe:2.3:a:zohocorp:manageengine_opmanager:*:*:*:*:*:*:*:*
Create a notification for this product.
ZohoCorp ManageEngine Firewall Analyzer Affected: 0 , < 12.8.710 (custom)
    cpe:2.3:a:zohocorp:manageengine_firewall_analyzer:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-76979",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-23T13:01:09.425453Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-23T16:46:14.733Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "ManageEngine OpManager",
          "vendor": "Zohocorp",
          "versions": [
            {
              "lessThan": "12.8.710",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "ManageEngine Firewall Analyzer",
          "vendor": "ZohoCorp",
          "versions": [
            {
              "lessThan": "12.8.710",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:zohocorp:manageengine_opmanager:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "12.8.710",
                  "versionStartIncluding": "0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            },
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:zohocorp:manageengine_firewall_analyzer:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "12.8.710",
                  "versionStartIncluding": "0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "OR"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "ZohoCorp ManageEngine OpManager and Firewall Analyzer versions 12.8.709 and below were vulnerable to an XML Injection vulnerability in the Rule Tracking Compare Policies feature."
            }
          ],
          "value": "ZohoCorp ManageEngine OpManager and Firewall Analyzer versions 12.8.709 and below were vulnerable to an XML Injection vulnerability in the Rule Tracking Compare Policies feature."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-250",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-250 XML Injection"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.7,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91 XML injection (aka blind XPath injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-23T12:22:49.382Z",
        "orgId": "0fc0942c-577d-436f-ae8e-945763c79b02",
        "shortName": "Zohocorp"
      },
      "references": [
        {
          "url": "https://www.manageengine.com/itom/advisory/cve-2026-76979.html"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "XML Injection vulnerability",
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "0fc0942c-577d-436f-ae8e-945763c79b02",
    "assignerShortName": "Zohocorp",
    "cveId": "CVE-2026-76979",
    "datePublished": "2026-09-23T12:22:49.382Z",
    "dateReserved": "2026-08-20T06:00:53.815Z",
    "dateUpdated": "2026-09-23T16:46:14.733Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-66295 (GCVE-0-2026-66295)

Vulnerability from cvelistv5 – Published: 2026-11-06 10:16 – Updated: 2026-11-19 07:54
VLAI
Title
Processing instruction target and content emitted unescaped in Saxy encoder allows XML injection
Summary
Saxy's XML encoder writes the target and the content of a processing instruction into the output document verbatim, without validation or escaping. The encoder builds the construct by concatenating both fields between <? and ?>, so neither field is checked against the constraints the XML specification places on it. Because ?> terminates a processing instruction, a target or content value containing that sequence closes the construct at a position the attacker chooses. Everything the attacker writes after it is emitted as ordinary markup at document level, which allows arbitrary elements, attributes, and further processing instructions to be injected into the serialized document. Appending a matching <? keeps the encoder's own terminator well-formed, so the result still parses and the injection is silent rather than a visible corruption. The target is additionally unconstrained by the XML Name production, which permits injection before the remainder of the processing instruction. The result is XML injection into a serialized document: the tree the application asks Saxy to encode and the tree a downstream parser reads back are no longer the same. Character data, attribute values, and comments are all escaped by the encoder, so processing instructions are the one construct that passes user bytes through untouched. Since Saxy.XML.processing_instruction/2 is a documented public builder, an application inherits the flaw without misusing the API. The consequences depend on what consumes the XML: forged records in a feed or export read by another system, injected stylesheet or rendering directives, or active content where the output is served to a browser as XML or SVG. This issue affects saxy: from 0.7.0 before 1.7.0.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-10 17:42 UTC
CWE
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 376 records in the last 180 days details
Impacted products
Vendor Product Version
qcam saxy Affected: 0.7.0 , < 1.7.0 (semver)
    cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*
Create a notification for this product.
qcam saxy Affected: 7266632e9407842f28ffac254c56dc41210a5690 , < 4aeb80e2acc318f57bd7453ad2eafd59101a90e0 (git)
    cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-06 10:16
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-66295",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-10T17:42:52.953846Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-10T17:43:03.747Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Saxy\u0027",
            "\u0027Elixir.Saxy.Encoder\u0027",
            "\u0027Elixir.Saxy.XML\u0027"
          ],
          "packageName": "saxy",
          "packageURL": "pkg:hex/saxy",
          "product": "saxy",
          "programFiles": [
            "lib/saxy.ex",
            "lib/saxy/encoder.ex",
            "lib/saxy/xml.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Saxy\u0027:encode!/2"
            },
            {
              "name": "\u0027Elixir.Saxy\u0027:encode_to_iodata!/2"
            },
            {
              "name": "\u0027Elixir.Saxy.Encoder\u0027:encode_to_iodata/2"
            },
            {
              "name": "\u0027Elixir.Saxy.XML\u0027:processing_instruction/2"
            }
          ],
          "repo": "https://github.com/qcam/saxy",
          "vendor": "qcam",
          "versions": [
            {
              "lessThan": "1.7.0",
              "status": "affected",
              "version": "0.7.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Saxy\u0027",
            "\u0027Elixir.Saxy.Encoder\u0027",
            "\u0027Elixir.Saxy.XML\u0027"
          ],
          "packageName": "qcam/saxy",
          "packageURL": "pkg:github/qcam/saxy",
          "product": "saxy",
          "programFiles": [
            "lib/saxy.ex",
            "lib/saxy/encoder.ex",
            "lib/saxy/xml.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Saxy\u0027:encode!/2"
            },
            {
              "name": "\u0027Elixir.Saxy\u0027:encode_to_iodata!/2"
            },
            {
              "name": "\u0027Elixir.Saxy.Encoder\u0027:encode_to_iodata/2"
            },
            {
              "name": "\u0027Elixir.Saxy.XML\u0027:processing_instruction/2"
            }
          ],
          "repo": "https://github.com/qcam/saxy",
          "vendor": "qcam",
          "versions": [
            {
              "lessThan": "4aeb80e2acc318f57bd7453ad2eafd59101a90e0",
              "status": "affected",
              "version": "7266632e9407842f28ffac254c56dc41210a5690",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe application must serialize a document containing a processing instruction whose target or content is derived from untrusted input, by passing a \u003ccode\u003e{:processing_instruction, name, content}\u003c/code\u003e node (typically built with \u003ccode\u003eSaxy.XML.processing_instruction/2\u003c/code\u003e) to \u003ccode\u003eSaxy.encode!/2\u003c/code\u003e or \u003ccode\u003eSaxy.encode_to_iodata!/2\u003c/code\u003e. Applications that never place dynamic data in processing instructions are not affected.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "The application must serialize a document containing a processing instruction whose target or content is derived from untrusted input, by passing a `{:processing_instruction, name, content}` node (typically built with `Saxy.XML.processing_instruction/2`) to `Saxy.encode!/2` or `Saxy.encode_to_iodata!/2`. Applications that never place dynamic data in processing instructions are not affected."
            }
          ],
          "value": "The application must serialize a document containing a processing instruction whose target or content is derived from untrusted input, by passing a {:processing_instruction, name, content} node (typically built with Saxy.XML.processing_instruction/2) to Saxy.encode!/2 or Saxy.encode_to_iodata!/2. Applications that never place dynamic data in processing instructions are not affected."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "1.7.0",
                  "versionStartIncluding": "0.7.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "C\u1ea9m Hu\u1ef3nh"
        }
      ],
      "datePublic": "2026-11-06T10:16:45.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eSaxy\u0027s XML encoder writes the target and the content of a processing instruction into the output document verbatim, without validation or escaping. The encoder builds the construct by concatenating both fields between \u003ccode\u003e\u0026lt;?\u003c/code\u003e and \u003ccode\u003e?\u0026gt;\u003c/code\u003e, so neither field is checked against the constraints the XML specification places on it.\u003c/p\u003e\n\u003cp\u003eBecause \u003ccode\u003e?\u0026gt;\u003c/code\u003e terminates a processing instruction, a target or content value containing that sequence closes the construct at a position the attacker chooses. Everything the attacker writes after it is emitted as ordinary markup at document level, which allows arbitrary elements, attributes, and further processing instructions to be injected into the serialized document. Appending a matching \u003ccode\u003e\u0026lt;?\u003c/code\u003e keeps the encoder\u0027s own terminator well-formed, so the result still parses and the injection is silent rather than a visible corruption. The target is additionally unconstrained by the XML \u003ccode\u003eName\u003c/code\u003e production, which permits injection before the remainder of the processing instruction.\u003c/p\u003e\n\u003cp\u003eThe result is XML injection into a serialized document: the tree the application asks Saxy to encode and the tree a downstream parser reads back are no longer the same. Character data, attribute values, and comments are all escaped by the encoder, so processing instructions are the one construct that passes user bytes through untouched. Since \u003ccode\u003eSaxy.XML.processing_instruction/2\u003c/code\u003e is a documented public builder, an application inherits the flaw without misusing the API. The consequences depend on what consumes the XML: forged records in a feed or export read by another system, injected stylesheet or rendering directives, or active content where the output is served to a browser as XML or SVG.\u003c/p\u003e\n\u003cp\u003eThis issue affects saxy: from 0.7.0 before 1.7.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Saxy\u0027s XML encoder writes the target and the content of a processing instruction into the output document verbatim, without validation or escaping. The encoder builds the construct by concatenating both fields between `\u003c?` and `?\u003e`, so neither field is checked against the constraints the XML specification places on it.\n\nBecause `?\u003e` terminates a processing instruction, a target or content value containing that sequence closes the construct at a position the attacker chooses. Everything the attacker writes after it is emitted as ordinary markup at document level, which allows arbitrary elements, attributes, and further processing instructions to be injected into the serialized document. Appending a matching `\u003c?` keeps the encoder\u0027s own terminator well-formed, so the result still parses and the injection is silent rather than a visible corruption. The target is additionally unconstrained by the XML `Name` production, which permits injection before the remainder of the processing instruction.\n\nThe result is XML injection into a serialized document: the tree the application asks Saxy to encode and the tree a downstream parser reads back are no longer the same. Character data, attribute values, and comments are all escaped by the encoder, so processing instructions are the one construct that passes user bytes through untouched. Since `Saxy.XML.processing_instruction/2` is a documented public builder, an application inherits the flaw without misusing the API. The consequences depend on what consumes the XML: forged records in a feed or export read by another system, injected stylesheet or rendering directives, or active content where the output is served to a browser as XML or SVG.\n\nThis issue affects saxy: from 0.7.0 before 1.7.0."
            }
          ],
          "value": "Saxy\u0027s XML encoder writes the target and the content of a processing instruction into the output document verbatim, without validation or escaping. The encoder builds the construct by concatenating both fields between \u003c? and ?\u003e, so neither field is checked against the constraints the XML specification places on it.\n\nBecause ?\u003e terminates a processing instruction, a target or content value containing that sequence closes the construct at a position the attacker chooses. Everything the attacker writes after it is emitted as ordinary markup at document level, which allows arbitrary elements, attributes, and further processing instructions to be injected into the serialized document. Appending a matching \u003c? keeps the encoder\u0027s own terminator well-formed, so the result still parses and the injection is silent rather than a visible corruption. The target is additionally unconstrained by the XML Name production, which permits injection before the remainder of the processing instruction.\n\nThe result is XML injection into a serialized document: the tree the application asks Saxy to encode and the tree a downstream parser reads back are no longer the same. Character data, attribute values, and comments are all escaped by the encoder, so processing instructions are the one construct that passes user bytes through untouched. Since Saxy.XML.processing_instruction/2 is a documented public builder, an application inherits the flaw without misusing the API. The consequences depend on what consumes the XML: forged records in a feed or export read by another system, injected stylesheet or rendering directives, or active content where the output is served to a browser as XML or SVG.\n\nThis issue affects saxy: from 0.7.0 before 1.7.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-250",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-250 XML Injection"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 2.1,
            "baseSeverity": "LOW",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "LOW",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91 XML Injection",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T07:54:09.121Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/qcam/saxy/security/advisories/GHSA-f9r9-vrxq-g566"
        },
        {
          "name": "EEF CNA record for CVE-2026-66295",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-66295.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-66295",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-66295"
        },
        {
          "name": "Introducing commit 7266632 in qcam/saxy",
          "tags": [
            "related"
          ],
          "url": "https://github.com/qcam/saxy/commit/7266632e9407842f28ffac254c56dc41210a5690"
        },
        {
          "name": "Fix commit 4aeb80e in qcam/saxy",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/qcam/saxy/commit/4aeb80e2acc318f57bd7453ad2eafd59101a90e0"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Processing instruction target and content emitted unescaped in Saxy encoder allows XML injection",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eDo not place untrusted data in processing instructions. Where a dynamic value is unavoidable, validate it before building the node: reject any content containing \u003ccode\u003e?\u0026gt;\u003c/code\u003e, and reject any target that does not match the XML \u003ccode\u003eName\u003c/code\u003e production or that equals \u003ccode\u003exml\u003c/code\u003e case-insensitively. Alternatively, carry the value in element content or an attribute instead, both of which the encoder escapes.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Do not place untrusted data in processing instructions. Where a dynamic value is unavoidable, validate it before building the node: reject any content containing `?\u003e`, and reject any target that does not match the XML `Name` production or that equals `xml` case-insensitively. Alternatively, carry the value in element content or an attribute instead, both of which the encoder escapes."
            }
          ],
          "value": "Do not place untrusted data in processing instructions. Where a dynamic value is unavoidable, validate it before building the node: reject any content containing ?\u003e, and reject any target that does not match the XML Name production or that equals xml case-insensitively. Alternatively, carry the value in element content or an attribute instead, both of which the encoder escapes."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-66295",
    "datePublished": "2026-11-06T10:16:45.577Z",
    "dateReserved": "2026-07-24T14:10:01.114Z",
    "dateUpdated": "2026-11-19T07:54:09.121Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-66294 (GCVE-0-2026-66294)

Vulnerability from cvelistv5 – Published: 2026-11-06 10:16 – Updated: 2026-11-19 07:53
VLAI
Title
XML injection in Saxy via unescaped CDATA section terminator
Summary
XML injection in the Saxy XML encoder. Saxy.Encoder.cdata/1 serializes a {:cdata, characters} node by wrapping the supplied characters between <![CDATA[ and ]]> and passing the payload through byte for byte. The encoder's character-data and attribute-value paths escape the XML metacharacters <, >, &, ", and ', but the CDATA path applies no neutralization at all. XML provides no character escaping mechanism inside a CDATA section, so the only correct way to represent a ]]> substring is to split the section and rejoin it as ]]]]><![CDATA[>. Saxy neither performs that split nor rejects the substring. An application that renders untrusted text as CDATA, by building the node with Saxy.XML.cdata/1 and serializing it with Saxy.encode!/2 or Saxy.encode_to_iodata!/2, therefore lets an attacker terminate the section at a position of their choosing. Everything supplied after the ]]> is emitted outside any CDATA context and is parsed as markup, so a single attacker-controlled text field becomes attacker-controlled document structure: arbitrary sibling elements and attributes that the application never built. Downstream consumers of the serialized document accept the injected markup as genuine. Services that generate SOAP envelopes, RSS or Atom feeds, sitemaps, SVG, or XML exports from user-supplied content can have trusted fields forged or overridden. Applications that never place untrusted text in a CDATA node are not affected. This issue affects saxy: from 0.7.0 before 1.7.0.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-10 17:43 UTC
CWE
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 376 records in the last 180 days details
Impacted products
Vendor Product Version
qcam saxy Affected: 0.7.0 , < 1.7.0 (semver)
    cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*
Create a notification for this product.
qcam saxy Affected: 7266632e9407842f28ffac254c56dc41210a5690 , < 71d99fae12f1d6596f5edb57b71f26ba854f4d33 (git)
    cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-06 10:16
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-66294",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-10T17:43:23.760979Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-10T17:43:39.205Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Saxy\u0027",
            "\u0027Elixir.Saxy.Encoder\u0027",
            "\u0027Elixir.Saxy.XML\u0027"
          ],
          "packageName": "saxy",
          "packageURL": "pkg:hex/saxy",
          "product": "saxy",
          "programFiles": [
            "lib/saxy.ex",
            "lib/saxy/encoder.ex",
            "lib/saxy/xml.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Saxy\u0027:encode!/2"
            },
            {
              "name": "\u0027Elixir.Saxy\u0027:encode_to_iodata!/2"
            },
            {
              "name": "\u0027Elixir.Saxy.Encoder\u0027:encode_to_iodata/2"
            },
            {
              "name": "\u0027Elixir.Saxy.Encoder\u0027:cdata/1"
            },
            {
              "name": "\u0027Elixir.Saxy.XML\u0027:cdata/1"
            }
          ],
          "repo": "https://github.com/qcam/saxy",
          "vendor": "qcam",
          "versions": [
            {
              "lessThan": "1.7.0",
              "status": "affected",
              "version": "0.7.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Saxy\u0027",
            "\u0027Elixir.Saxy.Encoder\u0027",
            "\u0027Elixir.Saxy.XML\u0027"
          ],
          "packageName": "qcam/saxy",
          "packageURL": "pkg:github/qcam/saxy",
          "product": "saxy",
          "programFiles": [
            "lib/saxy.ex",
            "lib/saxy/encoder.ex",
            "lib/saxy/xml.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Saxy\u0027:encode!/2"
            },
            {
              "name": "\u0027Elixir.Saxy\u0027:encode_to_iodata!/2"
            },
            {
              "name": "\u0027Elixir.Saxy.Encoder\u0027:encode_to_iodata/2"
            },
            {
              "name": "\u0027Elixir.Saxy.Encoder\u0027:cdata/1"
            },
            {
              "name": "\u0027Elixir.Saxy.XML\u0027:cdata/1"
            }
          ],
          "repo": "https://github.com/qcam/saxy",
          "vendor": "qcam",
          "versions": [
            {
              "lessThan": "71d99fae12f1d6596f5edb57b71f26ba854f4d33",
              "status": "affected",
              "version": "7266632e9407842f28ffac254c56dc41210a5690",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "1.7.0",
                  "versionStartIncluding": "0.7.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "C\u1ea9m Hu\u1ef3nh"
        }
      ],
      "datePublic": "2026-11-06T10:16:49.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eXML injection in the Saxy XML encoder. \u003ccode\u003eSaxy.Encoder.cdata/1\u003c/code\u003e serializes a \u003ccode\u003e{:cdata, characters}\u003c/code\u003e node by wrapping the supplied characters between \u003ccode\u003e\u0026lt;![CDATA[\u003c/code\u003e and \u003ccode\u003e]]\u0026gt;\u003c/code\u003e and passing the payload through byte for byte. The encoder\u0027s character-data and attribute-value paths escape the XML metacharacters \u003ccode\u003e\u0026lt;\u003c/code\u003e, \u003ccode\u003e\u0026gt;\u003c/code\u003e, \u003ccode\u003e\u0026amp;\u003c/code\u003e, \u003ccode\u003e\"\u003c/code\u003e, and \u003ccode\u003e\u0027\u003c/code\u003e, but the CDATA path applies no neutralization at all. XML provides no character escaping mechanism inside a CDATA section, so the only correct way to represent a \u003ccode\u003e]]\u0026gt;\u003c/code\u003e substring is to split the section and rejoin it as \u003ccode\u003e]]]]\u0026gt;\u0026lt;![CDATA[\u0026gt;\u003c/code\u003e. Saxy neither performs that split nor rejects the substring.\u003c/p\u003e\n\u003cp\u003eAn application that renders untrusted text as CDATA, by building the node with \u003ccode\u003eSaxy.XML.cdata/1\u003c/code\u003e and serializing it with \u003ccode\u003eSaxy.encode!/2\u003c/code\u003e or \u003ccode\u003eSaxy.encode_to_iodata!/2\u003c/code\u003e, therefore lets an attacker terminate the section at a position of their choosing. Everything supplied after the \u003ccode\u003e]]\u0026gt;\u003c/code\u003e is emitted outside any CDATA context and is parsed as markup, so a single attacker-controlled text field becomes attacker-controlled document structure: arbitrary sibling elements and attributes that the application never built. Downstream consumers of the serialized document accept the injected markup as genuine. Services that generate SOAP envelopes, RSS or Atom feeds, sitemaps, SVG, or XML exports from user-supplied content can have trusted fields forged or overridden. Applications that never place untrusted text in a CDATA node are not affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects saxy: from 0.7.0 before 1.7.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "XML injection in the Saxy XML encoder. `Saxy.Encoder.cdata/1` serializes a `{:cdata, characters}` node by wrapping the supplied characters between `\u003c![CDATA[` and `]]\u003e` and passing the payload through byte for byte. The encoder\u0027s character-data and attribute-value paths escape the XML metacharacters `\u003c`, `\u003e`, `\u0026`, `\"`, and `\u0027`, but the CDATA path applies no neutralization at all. XML provides no character escaping mechanism inside a CDATA section, so the only correct way to represent a `]]\u003e` substring is to split the section and rejoin it as `]]]]\u003e\u003c![CDATA[\u003e`. Saxy neither performs that split nor rejects the substring.\n\nAn application that renders untrusted text as CDATA, by building the node with `Saxy.XML.cdata/1` and serializing it with `Saxy.encode!/2` or `Saxy.encode_to_iodata!/2`, therefore lets an attacker terminate the section at a position of their choosing. Everything supplied after the `]]\u003e` is emitted outside any CDATA context and is parsed as markup, so a single attacker-controlled text field becomes attacker-controlled document structure: arbitrary sibling elements and attributes that the application never built. Downstream consumers of the serialized document accept the injected markup as genuine. Services that generate SOAP envelopes, RSS or Atom feeds, sitemaps, SVG, or XML exports from user-supplied content can have trusted fields forged or overridden. Applications that never place untrusted text in a CDATA node are not affected.\n\nThis issue affects saxy: from 0.7.0 before 1.7.0."
            }
          ],
          "value": "XML injection in the Saxy XML encoder. Saxy.Encoder.cdata/1 serializes a {:cdata, characters} node by wrapping the supplied characters between \u003c![CDATA[ and ]]\u003e and passing the payload through byte for byte. The encoder\u0027s character-data and attribute-value paths escape the XML metacharacters \u003c, \u003e, \u0026, \", and \u0027, but the CDATA path applies no neutralization at all. XML provides no character escaping mechanism inside a CDATA section, so the only correct way to represent a ]]\u003e substring is to split the section and rejoin it as ]]]]\u003e\u003c![CDATA[\u003e. Saxy neither performs that split nor rejects the substring.\n\nAn application that renders untrusted text as CDATA, by building the node with Saxy.XML.cdata/1 and serializing it with Saxy.encode!/2 or Saxy.encode_to_iodata!/2, therefore lets an attacker terminate the section at a position of their choosing. Everything supplied after the ]]\u003e is emitted outside any CDATA context and is parsed as markup, so a single attacker-controlled text field becomes attacker-controlled document structure: arbitrary sibling elements and attributes that the application never built. Downstream consumers of the serialized document accept the injected markup as genuine. Services that generate SOAP envelopes, RSS or Atom feeds, sitemaps, SVG, or XML exports from user-supplied content can have trusted fields forged or overridden. Applications that never place untrusted text in a CDATA node are not affected.\n\nThis issue affects saxy: from 0.7.0 before 1.7.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-250",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-250 XML Injection"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 2.1,
            "baseSeverity": "LOW",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "LOW",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91 XML Injection",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T07:53:59.030Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/qcam/saxy/security/advisories/GHSA-hq6g-j46w-wx72"
        },
        {
          "name": "EEF CNA record for CVE-2026-66294",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-66294.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-66294",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-66294"
        },
        {
          "name": "Introducing commit 7266632 in qcam/saxy",
          "tags": [
            "related"
          ],
          "url": "https://github.com/qcam/saxy/commit/7266632e9407842f28ffac254c56dc41210a5690"
        },
        {
          "name": "Fix commit 71d99fa in qcam/saxy",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/qcam/saxy/commit/71d99fae12f1d6596f5edb57b71f26ba854f4d33"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "XML injection in Saxy via unescaped CDATA section terminator",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eRender untrusted text as ordinary character data instead of CDATA, by passing a plain string or \u003ccode\u003eSaxy.XML.characters/1\u003c/code\u003e to the element builder. That encoder path escapes the XML metacharacters and preserves the same text content.\u003c/p\u003e\n\u003cp\u003eIf a CDATA section is required, split the terminator in application code before building the node: replace every occurrence of \u003ccode\u003e]]\u0026gt;\u003c/code\u003e in the untrusted text with \u003ccode\u003e]]]]\u0026gt;\u0026lt;![CDATA[\u0026gt;\u003c/code\u003e and pass the result to \u003ccode\u003eSaxy.XML.cdata/1\u003c/code\u003e. Once the encoder wraps that payload, the output is the standard split encoding.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Render untrusted text as ordinary character data instead of CDATA, by passing a plain string or `Saxy.XML.characters/1` to the element builder. That encoder path escapes the XML metacharacters and preserves the same text content.\n\nIf a CDATA section is required, split the terminator in application code before building the node: replace every occurrence of `]]\u003e` in the untrusted text with `]]]]\u003e\u003c![CDATA[\u003e` and pass the result to `Saxy.XML.cdata/1`. Once the encoder wraps that payload, the output is the standard split encoding."
            }
          ],
          "value": "Render untrusted text as ordinary character data instead of CDATA, by passing a plain string or Saxy.XML.characters/1 to the element builder. That encoder path escapes the XML metacharacters and preserves the same text content.\n\nIf a CDATA section is required, split the terminator in application code before building the node: replace every occurrence of ]]\u003e in the untrusted text with ]]]]\u003e\u003c![CDATA[\u003e and pass the result to Saxy.XML.cdata/1. Once the encoder wraps that payload, the output is the standard split encoding."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-66294",
    "datePublished": "2026-11-06T10:16:49.656Z",
    "dateReserved": "2026-07-24T14:10:01.114Z",
    "dateUpdated": "2026-11-19T07:53:59.030Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-66293 (GCVE-0-2026-66293)

Vulnerability from cvelistv5 – Published: 2026-11-06 10:16 – Updated: 2026-11-19 07:54
VLAI
Title
XML comment injection in Saxy encoder via unescaped double hyphen
Summary
XML injection in the encoder of Saxy. Saxy.Encoder does not neutralize the -- sequence in XML comment content: escape_comment/2 returns the comment binary unchanged in every clause and only appends a space when the comment ends in a single -, so neither an interior -- nor a full --> is escaped or rejected before the encoder wraps the content in the <!-- and --> delimiters. When an application serializes attacker-controlled text as a comment, through Saxy.XML.comment/1 or a raw {:comment, text} simple form child, the attacker can close the comment early with --> and inject arbitrary sibling markup into the serialized document. A downstream parser then sees elements, attributes, and text that the application never built. Where the document is rendered as HTML or SVG, the injected markup executes as stored cross-site scripting; where it is consumed by another XML processor, the attacker can forge data that the producing application never emitted. Documents that Saxy only parses are not a vector. This issue affects saxy: from 0.7.0 before 1.7.0.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-10 17:42 UTC
CWE
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 376 records in the last 180 days details
Impacted products
Vendor Product Version
qcam saxy Affected: 0.7.0 , < 1.7.0 (semver)
    cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*
Create a notification for this product.
qcam saxy Affected: 7266632e9407842f28ffac254c56dc41210a5690 , < 6d12ee12b9e32e86ef598b3f3cafccd1840b2f41 (git)
    cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-06 10:16
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-66293",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-10T17:42:07.677044Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-10T17:42:24.114Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Saxy\u0027",
            "\u0027Elixir.Saxy.Encoder\u0027",
            "\u0027Elixir.Saxy.XML\u0027"
          ],
          "packageName": "saxy",
          "packageURL": "pkg:hex/saxy",
          "product": "saxy",
          "programFiles": [
            "lib/saxy.ex",
            "lib/saxy/encoder.ex",
            "lib/saxy/xml.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Saxy\u0027:encode!/2"
            },
            {
              "name": "\u0027Elixir.Saxy\u0027:encode_to_iodata!/2"
            },
            {
              "name": "\u0027Elixir.Saxy.XML\u0027:comment/1"
            }
          ],
          "repo": "https://github.com/qcam/saxy",
          "vendor": "qcam",
          "versions": [
            {
              "lessThan": "1.7.0",
              "status": "affected",
              "version": "0.7.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Saxy\u0027",
            "\u0027Elixir.Saxy.Encoder\u0027",
            "\u0027Elixir.Saxy.XML\u0027"
          ],
          "packageName": "qcam/saxy",
          "packageURL": "pkg:github/qcam/saxy",
          "product": "saxy",
          "programFiles": [
            "lib/saxy.ex",
            "lib/saxy/encoder.ex",
            "lib/saxy/xml.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Saxy\u0027:encode!/2"
            },
            {
              "name": "\u0027Elixir.Saxy\u0027:encode_to_iodata!/2"
            },
            {
              "name": "\u0027Elixir.Saxy.XML\u0027:comment/1"
            }
          ],
          "repo": "https://github.com/qcam/saxy",
          "vendor": "qcam",
          "versions": [
            {
              "lessThan": "6d12ee12b9e32e86ef598b3f3cafccd1840b2f41",
              "status": "affected",
              "version": "7266632e9407842f28ffac254c56dc41210a5690",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eOnly applications that place untrusted text into an XML comment node are affected. The untrusted value must reach \u003ccode\u003eSaxy.XML.comment/1\u003c/code\u003e or a raw \u003ccode\u003e{:comment, text}\u003c/code\u003e simple form child that is then serialized with \u003ccode\u003eSaxy.encode!/2\u003c/code\u003e or \u003ccode\u003eSaxy.encode_to_iodata!/2\u003c/code\u003e. Documents that are only parsed by Saxy never reach the encoder and are not a vector.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Only applications that place untrusted text into an XML comment node are affected. The untrusted value must reach `Saxy.XML.comment/1` or a raw `{:comment, text}` simple form child that is then serialized with `Saxy.encode!/2` or `Saxy.encode_to_iodata!/2`. Documents that are only parsed by Saxy never reach the encoder and are not a vector."
            }
          ],
          "value": "Only applications that place untrusted text into an XML comment node are affected. The untrusted value must reach Saxy.XML.comment/1 or a raw {:comment, text} simple form child that is then serialized with Saxy.encode!/2 or Saxy.encode_to_iodata!/2. Documents that are only parsed by Saxy never reach the encoder and are not a vector."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:qcam:saxy:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "1.7.0",
                  "versionStartIncluding": "0.7.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "C\u1ea9m Hu\u1ef3nh"
        }
      ],
      "datePublic": "2026-11-06T10:16:42.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eXML injection in the encoder of Saxy. \u003ccode\u003eSaxy.Encoder\u003c/code\u003e does not neutralize the \u003ccode\u003e--\u003c/code\u003e sequence in XML comment content: \u003ccode\u003eescape_comment/2\u003c/code\u003e returns the comment binary unchanged in every clause and only appends a space when the comment ends in a single \u003ccode\u003e-\u003c/code\u003e, so neither an interior \u003ccode\u003e--\u003c/code\u003e nor a full \u003ccode\u003e--\u0026gt;\u003c/code\u003e is escaped or rejected before the encoder wraps the content in the \u003ccode\u003e\u0026lt;!--\u003c/code\u003e and \u003ccode\u003e--\u0026gt;\u003c/code\u003e delimiters.\u003c/p\u003e\n\u003cp\u003eWhen an application serializes attacker-controlled text as a comment, through \u003ccode\u003eSaxy.XML.comment/1\u003c/code\u003e or a raw \u003ccode\u003e{:comment, text}\u003c/code\u003e simple form child, the attacker can close the comment early with \u003ccode\u003e--\u0026gt;\u003c/code\u003e and inject arbitrary sibling markup into the serialized document. A downstream parser then sees elements, attributes, and text that the application never built. Where the document is rendered as HTML or SVG, the injected markup executes as stored cross-site scripting; where it is consumed by another XML processor, the attacker can forge data that the producing application never emitted. Documents that Saxy only parses are not a vector.\u003c/p\u003e\n\u003cp\u003eThis issue affects saxy: from 0.7.0 before 1.7.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "XML injection in the encoder of Saxy. `Saxy.Encoder` does not neutralize the `--` sequence in XML comment content: `escape_comment/2` returns the comment binary unchanged in every clause and only appends a space when the comment ends in a single `-`, so neither an interior `--` nor a full `--\u003e` is escaped or rejected before the encoder wraps the content in the `\u003c!--` and `--\u003e` delimiters.\n\nWhen an application serializes attacker-controlled text as a comment, through `Saxy.XML.comment/1` or a raw `{:comment, text}` simple form child, the attacker can close the comment early with `--\u003e` and inject arbitrary sibling markup into the serialized document. A downstream parser then sees elements, attributes, and text that the application never built. Where the document is rendered as HTML or SVG, the injected markup executes as stored cross-site scripting; where it is consumed by another XML processor, the attacker can forge data that the producing application never emitted. Documents that Saxy only parses are not a vector.\n\nThis issue affects saxy: from 0.7.0 before 1.7.0."
            }
          ],
          "value": "XML injection in the encoder of Saxy. Saxy.Encoder does not neutralize the -- sequence in XML comment content: escape_comment/2 returns the comment binary unchanged in every clause and only appends a space when the comment ends in a single -, so neither an interior -- nor a full --\u003e is escaped or rejected before the encoder wraps the content in the \u003c!-- and --\u003e delimiters.\n\nWhen an application serializes attacker-controlled text as a comment, through Saxy.XML.comment/1 or a raw {:comment, text} simple form child, the attacker can close the comment early with --\u003e and inject arbitrary sibling markup into the serialized document. A downstream parser then sees elements, attributes, and text that the application never built. Where the document is rendered as HTML or SVG, the injected markup executes as stored cross-site scripting; where it is consumed by another XML processor, the attacker can forge data that the producing application never emitted. Documents that Saxy only parses are not a vector.\n\nThis issue affects saxy: from 0.7.0 before 1.7.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-250",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-250 XML Injection"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 2.1,
            "baseSeverity": "LOW",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "LOW",
            "subIntegrityImpact": "LOW",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91 XML Injection",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T07:54:15.159Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/qcam/saxy/security/advisories/GHSA-mm3m-xwmf-v698"
        },
        {
          "name": "EEF CNA record for CVE-2026-66293",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-66293.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-66293",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-66293"
        },
        {
          "name": "Introducing commit 7266632 in qcam/saxy",
          "tags": [
            "related"
          ],
          "url": "https://github.com/qcam/saxy/commit/7266632e9407842f28ffac254c56dc41210a5690"
        },
        {
          "name": "Fix commit 6d12ee1 in qcam/saxy",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/qcam/saxy/commit/6d12ee12b9e32e86ef598b3f3cafccd1840b2f41"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "XML comment injection in Saxy encoder via unescaped double hyphen",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eReject or rewrite the \u003ccode\u003e--\u003c/code\u003e sequence in untrusted text before passing it to \u003ccode\u003eSaxy.XML.comment/1\u003c/code\u003e, for example by replacing \u003ccode\u003e--\u003c/code\u003e with \u003ccode\u003e- -\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eAlternatively, stop emitting untrusted data as XML comments. Comments carry no semantic payload for consumers, so the text can usually be moved into an element or a CDATA section instead.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Reject or rewrite the `--` sequence in untrusted text before passing it to `Saxy.XML.comment/1`, for example by replacing `--` with `- -`.\n\nAlternatively, stop emitting untrusted data as XML comments. Comments carry no semantic payload for consumers, so the text can usually be moved into an element or a CDATA section instead."
            }
          ],
          "value": "Reject or rewrite the -- sequence in untrusted text before passing it to Saxy.XML.comment/1, for example by replacing -- with - -.\n\nAlternatively, stop emitting untrusted data as XML comments. Comments carry no semantic payload for consumers, so the text can usually be moved into an element or a CDATA section instead."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-66293",
    "datePublished": "2026-11-06T10:16:42.053Z",
    "dateReserved": "2026-07-24T14:10:01.114Z",
    "dateUpdated": "2026-11-19T07:54:15.159Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-65124 (GCVE-0-2026-65124)

Vulnerability from cvelistv5 – Published: 2026-09-22 14:10 – Updated: 2026-09-22 15:27
VLAI
Summary
NVIDIA Infrastructure Controller for Linux contains a vulnerability where an attacker could cause an XML injection. A successful exploit of this vulnerability might lead to data tampering and denial of service.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-22 15:27 UTC
CWE
  • CWE-91 - XML Injection (aka Blind XPath Injection)
Assigner
nvidia CNA under the mitre root
CNA scorecard C 65/100 over 341 records in the last 180 days details
Impacted products
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-65124",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-22T15:27:07.955136Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-22T15:27:16.923Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "platforms": [
            "Linux"
          ],
          "product": "Infrastructure Controller",
          "vendor": "NVIDIA",
          "versions": [
            {
              "status": "affected",
              "version": "0 to 1.9"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "NVIDIA Infrastructure Controller for Linux contains a vulnerability where an attacker could cause an XML injection. A successful exploit of this vulnerability might lead to data tampering and denial of service."
            }
          ],
          "value": "NVIDIA Infrastructure Controller for Linux contains a vulnerability where an attacker could cause an XML injection. A successful exploit of this vulnerability might lead to data tampering and denial of service."
        }
      ],
      "impacts": [
        {
          "descriptions": [
            {
              "lang": "en",
              "value": "data tampering, denial of service"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91 XML Injection (aka Blind XPath Injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-22T14:10:23.622Z",
        "orgId": "9576f279-3576-44b5-a4af-b9a8644b2de6",
        "shortName": "nvidia"
      },
      "references": [
        {
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-65124"
        },
        {
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-65124"
        },
        {
          "url": "https://github.com/NVIDIA/product-security/tree/main/2026/5879"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "x_generator": {
        "engine": "NVIDIA PSIRT"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "9576f279-3576-44b5-a4af-b9a8644b2de6",
    "assignerShortName": "nvidia",
    "cveId": "CVE-2026-65124",
    "datePublished": "2026-09-22T14:10:23.622Z",
    "dateReserved": "2026-07-21T17:12:33.431Z",
    "dateUpdated": "2026-09-22T15:27:16.923Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-63583 (GCVE-0-2026-63583)

Vulnerability from cvelistv5 – Published: 2026-11-24 14:14 – Updated: 2026-11-24 14:14
VLAI
Title
XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3
Summary
ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3 interpolates caller-supplied lifecycle rule fields (the rule id, filter prefix, tag key and value, storage class, and noncurrent-version count) directly into the PutBucketLifecycleConfiguration XML body without escaping XML metacharacters. An application that populates any of these fields from untrusted input (for example a tenant-supplied object tag) lets an attacker break out of the surrounding element and inject arbitrary XML into the request, including an entirely new lifecycle action such as a delete-after-one-day expiration that destroys the bucket's objects. The public entry point ExAws.S3.put_bucket_lifecycle/2 flows directly into this builder. This issue affects ex_aws_s3: from 2.3.0 before 2.6.0.
CWE
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 376 records in the last 180 days details
Impacted products
Vendor Product Version
ex-aws ex_aws_s3 Affected: 2.3.0 , < 2.6.0 (semver)
    cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*
Create a notification for this product.
ex-aws ex_aws_s3 Affected: 34a3f1b264bd9a28d68fa98173af7085da72a15b , < eda0b9b9c63707f7db8d8f18c331df7fda57c397 (git)
    cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-24 14:14
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.ExAws.S3.Utils\u0027",
            "\u0027Elixir.ExAws.S3\u0027"
          ],
          "packageName": "ex_aws_s3",
          "packageURL": "pkg:hex/ex_aws_s3",
          "product": "ex_aws_s3",
          "programFiles": [
            "lib/ex_aws/s3/utils.ex",
            "lib/ex_aws/s3.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.ExAws.S3.Utils\u0027:build_lifecycle_rule/1"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_lifecycle/2"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_s3",
          "vendor": "ex-aws",
          "versions": [
            {
              "lessThan": "2.6.0",
              "status": "affected",
              "version": "2.3.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.ExAws.S3.Utils\u0027",
            "\u0027Elixir.ExAws.S3\u0027"
          ],
          "packageName": "ex-aws/ex_aws_s3",
          "packageURL": "pkg:github/ex-aws/ex_aws_s3",
          "product": "ex_aws_s3",
          "programFiles": [
            "lib/ex_aws/s3/utils.ex",
            "lib/ex_aws/s3.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.ExAws.S3.Utils\u0027:build_lifecycle_rule/1"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_lifecycle/2"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_s3",
          "vendor": "ex-aws",
          "versions": [
            {
              "lessThan": "eda0b9b9c63707f7db8d8f18c331df7fda57c397",
              "status": "affected",
              "version": "34a3f1b264bd9a28d68fa98173af7085da72a15b",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.6.0",
                  "versionStartIncluding": "2.3.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Bernard Duggan"
        }
      ],
      "datePublic": "2026-11-24T14:14:57.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003ccode\u003eExAws.S3.Utils.build_lifecycle_rule/1\u003c/code\u003e in ex_aws_s3 interpolates caller-supplied lifecycle rule fields (the rule id, filter prefix, tag key and value, storage class, and noncurrent-version count) directly into the \u003ccode\u003ePutBucketLifecycleConfiguration\u003c/code\u003e XML body without escaping XML metacharacters. An application that populates any of these fields from untrusted input (for example a tenant-supplied object tag) lets an attacker break out of the surrounding element and inject arbitrary XML into the request, including an entirely new lifecycle action such as a delete-after-one-day expiration that destroys the bucket\u0027s objects. The public entry point \u003ccode\u003eExAws.S3.put_bucket_lifecycle/2\u003c/code\u003e flows directly into this builder.\u003c/p\u003e\n\u003cp\u003eThis issue affects ex_aws_s3: from 2.3.0 before 2.6.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "`ExAws.S3.Utils.build_lifecycle_rule/1` in ex_aws_s3 interpolates caller-supplied lifecycle rule fields (the rule id, filter prefix, tag key and value, storage class, and noncurrent-version count) directly into the `PutBucketLifecycleConfiguration` XML body without escaping XML metacharacters. An application that populates any of these fields from untrusted input (for example a tenant-supplied object tag) lets an attacker break out of the surrounding element and inject arbitrary XML into the request, including an entirely new lifecycle action such as a delete-after-one-day expiration that destroys the bucket\u0027s objects. The public entry point `ExAws.S3.put_bucket_lifecycle/2` flows directly into this builder.\n\nThis issue affects ex_aws_s3: from 2.3.0 before 2.6.0."
            }
          ],
          "value": "ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3 interpolates caller-supplied lifecycle rule fields (the rule id, filter prefix, tag key and value, storage class, and noncurrent-version count) directly into the PutBucketLifecycleConfiguration XML body without escaping XML metacharacters. An application that populates any of these fields from untrusted input (for example a tenant-supplied object tag) lets an attacker break out of the surrounding element and inject arbitrary XML into the request, including an entirely new lifecycle action such as a delete-after-one-day expiration that destroys the bucket\u0027s objects. The public entry point ExAws.S3.put_bucket_lifecycle/2 flows directly into this builder.\n\nThis issue affects ex_aws_s3: from 2.3.0 before 2.6.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-250",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThis is an XML/document injection vulnerability in the construction of the \u003ccode\u003ePutBucketLifecycleConfiguration\u003c/code\u003e request. Any application that uses \u003ccode\u003eex_aws_s3\u003c/code\u003e and populates a lifecycle rule\u0027s id, prefix, tag key/value, storage class, or noncurrent-version count from data it does not fully control is affected. An attacker who controls one of those fields can inject arbitrary lifecycle actions or rules into the request, most damagingly an expiration that deletes the bucket\u0027s objects, leading to data loss or unintended retention/transition policies. Multi-tenant services that map tenant-supplied tags or identifiers into bucket lifecycle configuration are the most exposed.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "This is an XML/document injection vulnerability in the construction of the `PutBucketLifecycleConfiguration` request. Any application that uses `ex_aws_s3` and populates a lifecycle rule\u0027s id, prefix, tag key/value, storage class, or noncurrent-version count from data it does not fully control is affected. An attacker who controls one of those fields can inject arbitrary lifecycle actions or rules into the request, most damagingly an expiration that deletes the bucket\u0027s objects, leading to data loss or unintended retention/transition policies. Multi-tenant services that map tenant-supplied tags or identifiers into bucket lifecycle configuration are the most exposed."
                }
              ],
              "value": "This is an XML/document injection vulnerability in the construction of the PutBucketLifecycleConfiguration request. Any application that uses ex_aws_s3 and populates a lifecycle rule\u0027s id, prefix, tag key/value, storage class, or noncurrent-version count from data it does not fully control is affected. An attacker who controls one of those fields can inject arbitrary lifecycle actions or rules into the request, most damagingly an expiration that deletes the bucket\u0027s objects, leading to data loss or unintended retention/transition policies. Multi-tenant services that map tenant-supplied tags or identifiers into bucket lifecycle configuration are the most exposed."
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "HIGH",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "HIGH",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:H",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91 XML Injection",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-24T14:14:58.243Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-pcgv-phrm-r85v"
        },
        {
          "name": "EEF CNA record for CVE-2026-63583",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-63583.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-63583",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-63583"
        },
        {
          "name": "Introducing commit 34a3f1b in ex-aws/ex_aws_s3",
          "tags": [
            "related"
          ],
          "url": "https://github.com/ex-aws/ex_aws_s3/commit/34a3f1b264bd9a28d68fa98173af7085da72a15b"
        },
        {
          "name": "Fix commit eda0b9b in ex-aws/ex_aws_s3",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/ex-aws/ex_aws_s3/commit/eda0b9b9c63707f7db8d8f18c331df7fda57c397"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "XML injection in ExAws.S3.Utils.build_lifecycle_rule/1 in ex_aws_s3",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eApplications can escape or strictly validate any untrusted value before passing it into a lifecycle rule field (the rule id, filter prefix, tag key or value, storage class, or noncurrent-version count) so that XML metacharacters cannot alter the request structure.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Applications can escape or strictly validate any untrusted value before passing it into a lifecycle rule field (the rule id, filter prefix, tag key or value, storage class, or noncurrent-version count) so that XML metacharacters cannot alter the request structure."
            }
          ],
          "value": "Applications can escape or strictly validate any untrusted value before passing it into a lifecycle rule field (the rule id, filter prefix, tag key or value, storage class, or noncurrent-version count) so that XML metacharacters cannot alter the request structure."
        }
      ],
      "x_proofOfConcept": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003col\u003e\n\u003cli\u003eA multi-tenant application mirrors tenant-supplied object tags into an S3 lifecycle rule: \u003ccode\u003eExAws.S3.put_bucket_lifecycle(\"tenant-bucket\", [rule]) |\u0026gt; ExAws.request(config)\u003c/code\u003e with \u003ccode\u003efilter: %{tags: [{\"team\", value}]}\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe tenant sets the tag value to \u003ccode\u003efrontend\u0026lt;/Value\u0026gt;\u0026lt;/Tag\u0026gt;\u0026lt;/Filter\u0026gt;\u0026lt;Expiration\u0026gt;\u0026lt;Days\u0026gt;1\u0026lt;/Days\u0026gt;\u0026lt;/Expiration\u0026gt;\u0026lt;Filter\u0026gt;\u0026lt;Tag\u0026gt;\u0026lt;Key\u0026gt;team\u0026lt;/Key\u0026gt;\u0026lt;Value\u0026gt;frontend\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003ebuild_lifecycle_rule/1\u003c/code\u003e interpolates it unescaped into the request body.\u003c/li\u003e\n\u003cli\u003eThe body S3 receives contains \u003ccode\u003e//Rule/Expiration/Days\u003c/code\u003e equal to \u003ccode\u003e1\u003c/code\u003e: an injected action that expires the bucket\u0027s objects after one day.\u003c/li\u003e\n\u003c/ol\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "1. A multi-tenant application mirrors tenant-supplied object tags into an S3 lifecycle rule: `ExAws.S3.put_bucket_lifecycle(\"tenant-bucket\", [rule]) |\u003e ExAws.request(config)` with `filter: %{tags: [{\"team\", value}]}`.\n2. The tenant sets the tag value to `frontend\u003c/Value\u003e\u003c/Tag\u003e\u003c/Filter\u003e\u003cExpiration\u003e\u003cDays\u003e1\u003c/Days\u003e\u003c/Expiration\u003e\u003cFilter\u003e\u003cTag\u003e\u003cKey\u003eteam\u003c/Key\u003e\u003cValue\u003efrontend`.\n3. `build_lifecycle_rule/1` interpolates it unescaped into the request body.\n4. The body S3 receives contains `//Rule/Expiration/Days` equal to `1`: an injected action that expires the bucket\u0027s objects after one day."
            }
          ],
          "value": "* A multi-tenant application mirrors tenant-supplied object tags into an S3 lifecycle rule: ExAws.S3.put_bucket_lifecycle(\"tenant-bucket\", [rule]) |\u003e ExAws.request(config) with filter: %{tags: [{\"team\", value}]}.\n* The tenant sets the tag value to frontend\u003c/Value\u003e\u003c/Tag\u003e\u003c/Filter\u003e\u003cExpiration\u003e\u003cDays\u003e1\u003c/Days\u003e\u003c/Expiration\u003e\u003cFilter\u003e\u003cTag\u003e\u003cKey\u003eteam\u003c/Key\u003e\u003cValue\u003efrontend.\n* build_lifecycle_rule/1 interpolates it unescaped into the request body.\n* The body S3 receives contains //Rule/Expiration/Days equal to 1: an injected action that expires the bucket\u0027s objects after one day."
        }
      ],
      "x_technicalAnalysis": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cstrong\u003e1. Unescaped interpolation.\u003c/strong\u003e \u003ccode\u003ebuild_lifecycle_rule/1\u003c/code\u003e in \u003ccode\u003elib/ex_aws/s3/utils.ex\u003c/code\u003e builds each text node of the \u003ccode\u003ePutBucketLifecycleConfiguration\u003c/code\u003e body by raw string interpolation: the rule \u003ccode\u003eid\u003c/code\u003e, the filter \u003ccode\u003eprefix\u003c/code\u003e, tag \u003ccode\u003ekey\u003c/code\u003e and \u003ccode\u003evalue\u003c/code\u003e, the \u003ccode\u003estorage\u003c/code\u003e class and \u003ccode\u003enewer_noncurrent_versions\u003c/code\u003e. None is XML-escaped or validated before \u003ccode\u003eIO.iodata_to_binary/1\u003c/code\u003e flattens the body.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Element break-out.\u003c/strong\u003e A value containing XML metacharacters is emitted verbatim. A tag value such as \u003ccode\u003efrontend\u0026lt;/Value\u0026gt;\u0026lt;/Tag\u0026gt;\u0026lt;/Filter\u0026gt;\u0026lt;Expiration\u0026gt;\u0026lt;Days\u0026gt;1\u0026lt;/Days\u0026gt;\u0026lt;/Expiration\u0026gt;\u0026lt;Filter\u0026gt;\u0026lt;Tag\u0026gt;\u0026lt;Key\u0026gt;team\u0026lt;/Key\u0026gt;\u0026lt;Value\u0026gt;frontend\u003c/code\u003e closes the \u003ccode\u003e\u0026lt;Value\u0026gt;\u003c/code\u003e, injects an \u003ccode\u003e\u0026lt;Expiration\u0026gt;\u003c/code\u003e action and reopens a \u003ccode\u003e\u0026lt;Filter\u0026gt;\u003c/code\u003e, so the rest of the document stays well-formed. The same technique can close and reopen \u003ccode\u003e\u0026lt;Rule\u0026gt;\u003c/code\u003e to append a separate rule.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Delivery.\u003c/strong\u003e The public entry point \u003ccode\u003eExAws.S3.put_bucket_lifecycle/2\u003c/code\u003e flows directly into this builder, so S3 receives and applies the injected lifecycle configuration as soon as the request is sent with \u003ccode\u003eExAws.request/2\u003c/code\u003e.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "**1. Unescaped interpolation.** `build_lifecycle_rule/1` in `lib/ex_aws/s3/utils.ex` builds each text node of the `PutBucketLifecycleConfiguration` body by raw string interpolation: the rule `id`, the filter `prefix`, tag `key` and `value`, the `storage` class and `newer_noncurrent_versions`. None is XML-escaped or validated before `IO.iodata_to_binary/1` flattens the body.\n\n**2. Element break-out.** A value containing XML metacharacters is emitted verbatim. A tag value such as `frontend\u003c/Value\u003e\u003c/Tag\u003e\u003c/Filter\u003e\u003cExpiration\u003e\u003cDays\u003e1\u003c/Days\u003e\u003c/Expiration\u003e\u003cFilter\u003e\u003cTag\u003e\u003cKey\u003eteam\u003c/Key\u003e\u003cValue\u003efrontend` closes the `\u003cValue\u003e`, injects an `\u003cExpiration\u003e` action and reopens a `\u003cFilter\u003e`, so the rest of the document stays well-formed. The same technique can close and reopen `\u003cRule\u003e` to append a separate rule.\n\n**3. Delivery.** The public entry point `ExAws.S3.put_bucket_lifecycle/2` flows directly into this builder, so S3 receives and applies the injected lifecycle configuration as soon as the request is sent with `ExAws.request/2`."
            }
          ],
          "value": "1. Unescaped interpolation. build_lifecycle_rule/1 in lib/ex_aws/s3/utils.ex builds each text node of the PutBucketLifecycleConfiguration body by raw string interpolation: the rule id, the filter prefix, tag key and value, the storage class and newer_noncurrent_versions. None is XML-escaped or validated before IO.iodata_to_binary/1 flattens the body.\n\n2. Element break-out. A value containing XML metacharacters is emitted verbatim. A tag value such as frontend\u003c/Value\u003e\u003c/Tag\u003e\u003c/Filter\u003e\u003cExpiration\u003e\u003cDays\u003e1\u003c/Days\u003e\u003c/Expiration\u003e\u003cFilter\u003e\u003cTag\u003e\u003cKey\u003eteam\u003c/Key\u003e\u003cValue\u003efrontend closes the \u003cValue\u003e, injects an \u003cExpiration\u003e action and reopens a \u003cFilter\u003e, so the rest of the document stays well-formed. The same technique can close and reopen \u003cRule\u003e to append a separate rule.\n\n3. Delivery. The public entry point ExAws.S3.put_bucket_lifecycle/2 flows directly into this builder, so S3 receives and applies the injected lifecycle configuration as soon as the request is sent with ExAws.request/2."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-63583",
    "datePublished": "2026-11-24T14:14:58.243Z",
    "dateReserved": "2026-07-17T04:14:44.351Z",
    "dateUpdated": "2026-11-24T14:14:58.243Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

Mitigation MIT-5
Implementation

Strategy: Input Validation

  • Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
CAPEC-250: XML Injection

An attacker utilizes crafted XML user-controllable input to probe, attack, and inject data into the XML database, using techniques similar to SQL injection. The user-controllable input can allow for unauthorized viewing of data, bypassing authentication or the front-end application for direct XML database access, and possibly altering database information.

CAPEC-83: XPath Injection

An attacker can craft special user-controllable input consisting of XPath expressions to inject the XML database and bypass authentication or glean information that they normally would not be able to. XPath Injection enables an attacker to talk directly to the XML database, thus bypassing the application completely. XPath Injection results from the failure of an application to properly sanitize input used as part of dynamic XPath expressions used to query an XML database.