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-63581 (GCVE-0-2026-63581)

Vulnerability from cvelistv5 – Published: 2026-11-24 14:15 – Updated: 2026-11-25 20:05
VLAI
Title
ex_aws_s3 XML injection in bucket-configuration builders
Summary
XML Injection vulnerability in ex-aws ex_aws_s3 (ExAws.S3 module) allows an attacker to inject arbitrary XML configuration elements into S3 bucket-configuration request bodies via unescaped, caller-supplied values. This vulnerability is associated with program files lib/ex_aws/s3.ex and program routines ExAws.S3.put_bucket_logging/2, ExAws.S3.put_bucket_notification/2, ExAws.S3.put_bucket_replication/2, ExAws.S3.put_bucket_website/2. The bucket-configuration body builders construct their XML by interpolating caller-supplied values directly into the request body without escaping, and never route them through the module's own escape_xml_string/1 helper. A value containing XML metacharacters (<, >, &, quotes) can close the intended element early and open attacker-chosen elements, which the builder's trailing closing tag then closes, keeping the document single-rooted and well-formed. In a multi-tenant application where tenants configure their own bucket settings, an attacker who can influence one of the interpolated field values (for example the logging target, a notification ARN, a replication destination or Account, or a website redirect HostName) can inject arbitrary configuration nodes into a request the application signs and sends to AWS. The affected builders are reached through the public functions put_bucket_logging/2, put_bucket_notification/2, put_bucket_replication/2, and put_bucket_website/2. This issue affects ex_aws_s3: from 2.5.9 before 2.6.0.
SSVC
Exploitation: poc Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-25 20:05 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
ex-aws ex_aws_s3 Affected: 2.5.9 , < 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: 7d6f5cde90aaea36f9a059de874d1420da20eef2 , < eda0b9b9c63707f7db8d8f18c331df7fda57c397 (git)
    cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-24 14:15
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-63581",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-25T20:05:10.917531Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-25T20:05:36.199Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-63581"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.ExAws.S3\u0027"
          ],
          "packageName": "ex_aws_s3",
          "packageURL": "pkg:hex/ex_aws_s3",
          "product": "ex_aws_s3",
          "programFiles": [
            "lib/ex_aws/s3.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_logging/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_notification/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_replication/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_website/2"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_s3",
          "vendor": "ex-aws",
          "versions": [
            {
              "lessThan": "2.6.0",
              "status": "affected",
              "version": "2.5.9",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\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.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_logging/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_notification/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_replication/2"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_website/2"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_s3",
          "vendor": "ex-aws",
          "versions": [
            {
              "lessThan": "eda0b9b9c63707f7db8d8f18c331df7fda57c397",
              "status": "affected",
              "version": "7d6f5cde90aaea36f9a059de874d1420da20eef2",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.6.0",
                  "versionStartIncluding": "2.5.9",
                  "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:15:20.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eXML Injection vulnerability in ex-aws ex_aws_s3 (\u003ccode\u003eExAws.S3\u003c/code\u003e module) allows an attacker to inject arbitrary XML configuration elements into S3 bucket-configuration request bodies via unescaped, caller-supplied values.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is associated with program files \u003ccode\u003elib/ex_aws/s3.ex\u003c/code\u003e and program routines \u003ccode\u003eExAws.S3.put_bucket_logging/2\u003c/code\u003e, \u003ccode\u003eExAws.S3.put_bucket_notification/2\u003c/code\u003e, \u003ccode\u003eExAws.S3.put_bucket_replication/2\u003c/code\u003e, \u003ccode\u003eExAws.S3.put_bucket_website/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThe bucket-configuration body builders construct their XML by interpolating caller-supplied values directly into the request body without escaping, and never route them through the module\u0027s own \u003ccode\u003eescape_xml_string/1\u003c/code\u003e helper. A value containing XML metacharacters (\u003ccode\u003e\u0026lt;\u003c/code\u003e, \u003ccode\u003e\u0026gt;\u003c/code\u003e, \u003ccode\u003e\u0026amp;\u003c/code\u003e, quotes) can close the intended element early and open attacker-chosen elements, which the builder\u0027s trailing closing tag then closes, keeping the document single-rooted and well-formed. In a multi-tenant application where tenants configure their own bucket settings, an attacker who can influence one of the interpolated field values (for example the logging target, a notification ARN, a replication destination or Account, or a website redirect HostName) can inject arbitrary configuration nodes into a request the application signs and sends to AWS. The affected builders are reached through the public functions \u003ccode\u003eput_bucket_logging/2\u003c/code\u003e, \u003ccode\u003eput_bucket_notification/2\u003c/code\u003e, \u003ccode\u003eput_bucket_replication/2\u003c/code\u003e, and \u003ccode\u003eput_bucket_website/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis issue affects ex_aws_s3: from 2.5.9 before 2.6.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "XML Injection vulnerability in ex-aws ex_aws_s3 (`ExAws.S3` module) allows an attacker to inject arbitrary XML configuration elements into S3 bucket-configuration request bodies via unescaped, caller-supplied values.\n\nThis vulnerability is associated with program files `lib/ex_aws/s3.ex` and program routines `ExAws.S3.put_bucket_logging/2`, `ExAws.S3.put_bucket_notification/2`, `ExAws.S3.put_bucket_replication/2`, `ExAws.S3.put_bucket_website/2`.\n\nThe bucket-configuration body builders construct their XML by interpolating caller-supplied values directly into the request body without escaping, and never route them through the module\u0027s own `escape_xml_string/1` helper. A value containing XML metacharacters (`\u003c`, `\u003e`, `\u0026`, quotes) can close the intended element early and open attacker-chosen elements, which the builder\u0027s trailing closing tag then closes, keeping the document single-rooted and well-formed. In a multi-tenant application where tenants configure their own bucket settings, an attacker who can influence one of the interpolated field values (for example the logging target, a notification ARN, a replication destination or Account, or a website redirect HostName) can inject arbitrary configuration nodes into a request the application signs and sends to AWS. The affected builders are reached through the public functions `put_bucket_logging/2`, `put_bucket_notification/2`, `put_bucket_replication/2`, and `put_bucket_website/2`.\n\nThis issue affects ex_aws_s3: from 2.5.9 before 2.6.0."
            }
          ],
          "value": "XML Injection vulnerability in ex-aws ex_aws_s3 (ExAws.S3 module) allows an attacker to inject arbitrary XML configuration elements into S3 bucket-configuration request bodies via unescaped, caller-supplied values.\n\nThis vulnerability is associated with program files lib/ex_aws/s3.ex and program routines ExAws.S3.put_bucket_logging/2, ExAws.S3.put_bucket_notification/2, ExAws.S3.put_bucket_replication/2, ExAws.S3.put_bucket_website/2.\n\nThe bucket-configuration body builders construct their XML by interpolating caller-supplied values directly into the request body without escaping, and never route them through the module\u0027s own escape_xml_string/1 helper. A value containing XML metacharacters (\u003c, \u003e, \u0026, quotes) can close the intended element early and open attacker-chosen elements, which the builder\u0027s trailing closing tag then closes, keeping the document single-rooted and well-formed. In a multi-tenant application where tenants configure their own bucket settings, an attacker who can influence one of the interpolated field values (for example the logging target, a notification ARN, a replication destination or Account, or a website redirect HostName) can inject arbitrary configuration nodes into a request the application signs and sends to AWS. The affected builders are reached through the public functions put_bucket_logging/2, put_bucket_notification/2, put_bucket_replication/2, and put_bucket_website/2.\n\nThis issue affects ex_aws_s3: from 2.5.9 before 2.6.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-250",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThis is an XML/structure injection vulnerability in the bucket-configuration body builders of \u003ccode\u003eex_aws_s3\u003c/code\u003e. It affects any application that passes untrusted or user-supplied values into these builders, most relevantly multi-tenant services that let tenants configure their own bucket logging, notifications, replication, or website settings. The only precondition is that an attacker can influence one of the interpolated field values; they can then inject arbitrary configuration elements (e.g. an attacker-owned replication destination/\u003ccode\u003eAccount\u003c/code\u003e, logging target, or website redirect \u003ccode\u003eHostName\u003c/code\u003e) into a request the application signs and sends to AWS.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "This is an XML/structure injection vulnerability in the bucket-configuration body builders of `ex_aws_s3`. It affects any application that passes untrusted or user-supplied values into these builders, most relevantly multi-tenant services that let tenants configure their own bucket logging, notifications, replication, or website settings. The only precondition is that an attacker can influence one of the interpolated field values; they can then inject arbitrary configuration elements (e.g. an attacker-owned replication destination/`Account`, logging target, or website redirect `HostName`) into a request the application signs and sends to AWS."
                }
              ],
              "value": "This is an XML/structure injection vulnerability in the bucket-configuration body builders of ex_aws_s3. It affects any application that passes untrusted or user-supplied values into these builders, most relevantly multi-tenant services that let tenants configure their own bucket logging, notifications, replication, or website settings. The only precondition is that an attacker can influence one of the interpolated field values; they can then inject arbitrary configuration elements (e.g. an attacker-owned replication destination/Account, logging target, or website redirect HostName) into a request the application signs and sends to AWS."
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "LOCAL",
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM",
            "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:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:L/SI:L/SA:N",
            "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:15:21.465Z",
        "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-cf93-7gwh-6w98"
        },
        {
          "name": "EEF CNA record for CVE-2026-63581",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-63581.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-63581",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-63581"
        },
        {
          "name": "Introducing commit 7d6f5cd in ex-aws/ex_aws_s3",
          "tags": [
            "related"
          ],
          "url": "https://github.com/ex-aws/ex_aws_s3/commit/7d6f5cde90aaea36f9a059de874d1420da20eef2"
        },
        {
          "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": "ex_aws_s3 XML injection in bucket-configuration builders",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eValidate or sanitize caller-supplied values before passing them to the affected bucket-configuration builders, rejecting or escaping any value that contains XML metacharacters (\u003ccode\u003e\u0026lt;\u003c/code\u003e, \u003ccode\u003e\u0026gt;\u003c/code\u003e, \u003ccode\u003e\u0026amp;\u003c/code\u003e, \u003ccode\u003e\u0027\u003c/code\u003e, \u003ccode\u003e\"\u003c/code\u003e).\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Validate or sanitize caller-supplied values before passing them to the affected bucket-configuration builders, rejecting or escaping any value that contains XML metacharacters (`\u003c`, `\u003e`, `\u0026`, `\u0027`, `\"`)."
            }
          ],
          "value": "Validate or sanitize caller-supplied values before passing them to the affected bucket-configuration builders, rejecting or escaping any value that contains XML metacharacters (\u003c, \u003e, \u0026, \u0027, \")."
        }
      ],
      "x_proofOfConcept": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003col\u003e\n\u003cli\u003eA multi-tenant application exposes \u003ccode\u003ePOST /configure-logging\u003c/code\u003e and forwards the tenant\u0027s form values to \u003ccode\u003eExAws.S3.put_bucket_logging(bucket, target_bucket: target_bucket)\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe attacker submits \u003ccode\u003etarget_bucket\u003c/code\u003e as \u003ccode\u003etenant-logs\u0026lt;/TargetBucket\u0026gt;\u0026lt;TargetBucket\u0026gt;attacker-exfil-bucket\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe builder interpolates it unescaped, and its own trailing \u003ccode\u003e\u0026lt;/TargetBucket\u0026gt;\u003c/code\u003e closes the injected element, so the body stays well-formed.\u003c/li\u003e\n\u003cli\u003eParsing the body yields two \u003ccode\u003eTargetBucket\u003c/code\u003e nodes, \u003ccode\u003etenant-logs\u003c/code\u003e and \u003ccode\u003eattacker-exfil-bucket\u003c/code\u003e, in the configuration the application signs and sends to AWS.\u003c/li\u003e\n\u003c/ol\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "1. A multi-tenant application exposes `POST /configure-logging` and forwards the tenant\u0027s form values to `ExAws.S3.put_bucket_logging(bucket, target_bucket: target_bucket)`.\n2. The attacker submits `target_bucket` as `tenant-logs\u003c/TargetBucket\u003e\u003cTargetBucket\u003eattacker-exfil-bucket`.\n3. The builder interpolates it unescaped, and its own trailing `\u003c/TargetBucket\u003e` closes the injected element, so the body stays well-formed.\n4. Parsing the body yields two `TargetBucket` nodes, `tenant-logs` and `attacker-exfil-bucket`, in the configuration the application signs and sends to AWS."
            }
          ],
          "value": "* A multi-tenant application exposes POST /configure-logging and forwards the tenant\u0027s form values to ExAws.S3.put_bucket_logging(bucket, target_bucket: target_bucket).\n* The attacker submits target_bucket as tenant-logs\u003c/TargetBucket\u003e\u003cTargetBucket\u003eattacker-exfil-bucket.\n* The builder interpolates it unescaped, and its own trailing \u003c/TargetBucket\u003e closes the injected element, so the body stays well-formed.\n* Parsing the body yields two TargetBucket nodes, tenant-logs and attacker-exfil-bucket, in the configuration the application signs and sends to AWS."
        }
      ],
      "x_technicalAnalysis": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cstrong\u003e1. Unescaped interpolation.\u003c/strong\u003e The bucket-configuration body builders in \u003ccode\u003elib/ex_aws/s3.ex\u003c/code\u003e interpolate caller-supplied values into XML with plain string interpolation and never apply the module\u0027s \u003ccode\u003eescape_xml_string/1\u003c/code\u003e helper. This covers \u003ccode\u003eput_bucket_logging\u003c/code\u003e (\u003ccode\u003etarget_bucket\u003c/code\u003e, \u003ccode\u003etarget_prefix\u003c/code\u003e), the notification builders (topic, Lambda and queue ARNs, \u003ccode\u003eid\u003c/code\u003e, events, filter rule names and values), the replication builders (\u003ccode\u003erole\u003c/code\u003e, rule \u003ccode\u003eid\u003c/code\u003e and \u003ccode\u003estatus\u003c/code\u003e, filter prefix, tag keys and values, destination \u003ccode\u003ebucket\u003c/code\u003e, \u003ccode\u003estorage_class\u003c/code\u003e, \u003ccode\u003eaccount\u003c/code\u003e, \u003ccode\u003eowner\u003c/code\u003e) and the website builders (\u003ccode\u003ehost_name\u003c/code\u003e, \u003ccode\u003eprotocol\u003c/code\u003e, \u003ccode\u003eindex_doc\u003c/code\u003e, \u003ccode\u003eerror_doc\u003c/code\u003e and every routing-rule field).\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Element break-out.\u003c/strong\u003e In \u003ccode\u003eput_bucket_logging\u003c/code\u003e, for example, the body contains \u003ccode\u003e\u0026lt;TargetBucket\u0026gt;#{target_bucket}\u0026lt;/TargetBucket\u0026gt;\u003c/code\u003e. A value containing \u003ccode\u003e\u0026lt;/TargetBucket\u0026gt;\u0026lt;TargetBucket\u0026gt;...\u003c/code\u003e closes the legitimate element early and opens a second one inside the same \u003ccode\u003e\u0026lt;LoggingEnabled\u0026gt;\u003c/code\u003e block.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Well-formed result.\u003c/strong\u003e The builder\u0027s own trailing closing tag closes the injected node, so the document stays single-rooted and well-formed, parses cleanly and would be accepted by AWS. The application signs and sends the attacker-shaped configuration as its own.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "**1. Unescaped interpolation.** The bucket-configuration body builders in `lib/ex_aws/s3.ex` interpolate caller-supplied values into XML with plain string interpolation and never apply the module\u0027s `escape_xml_string/1` helper. This covers `put_bucket_logging` (`target_bucket`, `target_prefix`), the notification builders (topic, Lambda and queue ARNs, `id`, events, filter rule names and values), the replication builders (`role`, rule `id` and `status`, filter prefix, tag keys and values, destination `bucket`, `storage_class`, `account`, `owner`) and the website builders (`host_name`, `protocol`, `index_doc`, `error_doc` and every routing-rule field).\n\n**2. Element break-out.** In `put_bucket_logging`, for example, the body contains `\u003cTargetBucket\u003e#{target_bucket}\u003c/TargetBucket\u003e`. A value containing `\u003c/TargetBucket\u003e\u003cTargetBucket\u003e...` closes the legitimate element early and opens a second one inside the same `\u003cLoggingEnabled\u003e` block.\n\n**3. Well-formed result.** The builder\u0027s own trailing closing tag closes the injected node, so the document stays single-rooted and well-formed, parses cleanly and would be accepted by AWS. The application signs and sends the attacker-shaped configuration as its own."
            }
          ],
          "value": "1. Unescaped interpolation. The bucket-configuration body builders in lib/ex_aws/s3.ex interpolate caller-supplied values into XML with plain string interpolation and never apply the module\u0027s escape_xml_string/1 helper. This covers put_bucket_logging (target_bucket, target_prefix), the notification builders (topic, Lambda and queue ARNs, id, events, filter rule names and values), the replication builders (role, rule id and status, filter prefix, tag keys and values, destination bucket, storage_class, account, owner) and the website builders (host_name, protocol, index_doc, error_doc and every routing-rule field).\n\n2. Element break-out. In put_bucket_logging, for example, the body contains \u003cTargetBucket\u003e#{target_bucket}\u003c/TargetBucket\u003e. A value containing \u003c/TargetBucket\u003e\u003cTargetBucket\u003e... closes the legitimate element early and opens a second one inside the same \u003cLoggingEnabled\u003e block.\n\n3. Well-formed result. The builder\u0027s own trailing closing tag closes the injected node, so the document stays single-rooted and well-formed, parses cleanly and would be accepted by AWS. The application signs and sends the attacker-shaped configuration as its own."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-63581",
    "datePublished": "2026-11-24T14:15:21.465Z",
    "dateReserved": "2026-07-17T04:14:44.351Z",
    "dateUpdated": "2026-11-25T20:05:36.199Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-62273 (GCVE-0-2026-62273)

Vulnerability from cvelistv5 – Published: 2026-11-24 14:15 – Updated: 2026-11-25 20:06
VLAI
Title
XML injection via unescaped tag keys and values in ex_aws_s3 object and bucket tagging
Summary
XML Injection vulnerability in ex-aws ex_aws_s3 allows an attacker who controls tag keys or values to inject forged tag entries into S3 object and bucket tagging requests. ExAws.S3.put_object_tagging/4 and ExAws.S3.put_bucket_tagging/2 in lib/ex_aws/s3.ex build the <TagSet> request body by interpolating tag keys and values directly into <Key> and <Value> elements via to_string/1, without applying the module's existing escape_xml_string/1 helper (which delete_multiple_objects already uses for object keys). An application that forwards user-supplied data as a tag key or value lets an attacker close the intended element and inject attacker-chosen <Tag> entries. For example, a tag value of blue</Value></Tag><Tag><Key>owner</Key><Value>admin turns one intended tag into two tags on the wire. Because S3 honors tags in access-control conditions (aws:RequestTag, s3:ExistingObjectTag) and cost-allocation reporting, an injected tag can forge an authorization-relevant tag or corrupt the intended tag set. This issue affects ex_aws_s3: from 2.0.2 before 2.6.0.
SSVC
Exploitation: poc Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-25 20:06 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
ex-aws ex_aws_s3 Affected: 2.0.2 , < 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: c6331b84c80f09d24d4a25cf05d8604541ce162e , < eda0b9b9c63707f7db8d8f18c331df7fda57c397 (git)
    cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-24 14:15
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-62273",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-25T20:06:06.920013Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-25T20:06:23.281Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-62273"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.ExAws.S3\u0027"
          ],
          "packageName": "ex_aws_s3",
          "packageURL": "pkg:hex/ex_aws_s3",
          "product": "ex_aws_s3",
          "programFiles": [
            "lib/ex_aws/s3.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_object_tagging/4"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_tagging/2"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_s3",
          "vendor": "ex-aws",
          "versions": [
            {
              "lessThan": "2.6.0",
              "status": "affected",
              "version": "2.0.2",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\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.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_object_tagging/4"
            },
            {
              "name": "\u0027Elixir.ExAws.S3\u0027:put_bucket_tagging/2"
            }
          ],
          "repo": "https://github.com/ex-aws/ex_aws_s3",
          "vendor": "ex-aws",
          "versions": [
            {
              "lessThan": "eda0b9b9c63707f7db8d8f18c331df7fda57c397",
              "status": "affected",
              "version": "c6331b84c80f09d24d4a25cf05d8604541ce162e",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.6.0",
                  "versionStartIncluding": "2.0.2",
                  "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:15:58.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eXML Injection vulnerability in ex-aws ex_aws_s3 allows an attacker who controls tag keys or values to inject forged tag entries into S3 object and bucket tagging requests.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eExAws.S3.put_object_tagging/4\u003c/code\u003e and \u003ccode\u003eExAws.S3.put_bucket_tagging/2\u003c/code\u003e in \u003ccode\u003elib/ex_aws/s3.ex\u003c/code\u003e build the \u003ccode\u003e\u0026lt;TagSet\u0026gt;\u003c/code\u003e request body by interpolating tag keys and values directly into \u003ccode\u003e\u0026lt;Key\u0026gt;\u003c/code\u003e and \u003ccode\u003e\u0026lt;Value\u0026gt;\u003c/code\u003e elements via \u003ccode\u003eto_string/1\u003c/code\u003e, without applying the module\u0027s existing \u003ccode\u003eescape_xml_string/1\u003c/code\u003e helper (which \u003ccode\u003edelete_multiple_objects\u003c/code\u003e already uses for object keys). An application that forwards user-supplied data as a tag key or value lets an attacker close the intended element and inject attacker-chosen \u003ccode\u003e\u0026lt;Tag\u0026gt;\u003c/code\u003e entries. For example, a tag value of \u003ccode\u003eblue\u0026lt;/Value\u0026gt;\u0026lt;/Tag\u0026gt;\u0026lt;Tag\u0026gt;\u0026lt;Key\u0026gt;owner\u0026lt;/Key\u0026gt;\u0026lt;Value\u0026gt;admin\u003c/code\u003e turns one intended tag into two tags on the wire. Because S3 honors tags in access-control conditions (\u003ccode\u003eaws:RequestTag\u003c/code\u003e, \u003ccode\u003es3:ExistingObjectTag\u003c/code\u003e) and cost-allocation reporting, an injected tag can forge an authorization-relevant tag or corrupt the intended tag set.\u003c/p\u003e\n\u003cp\u003eThis issue affects ex_aws_s3: from 2.0.2 before 2.6.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "XML Injection vulnerability in ex-aws ex_aws_s3 allows an attacker who controls tag keys or values to inject forged tag entries into S3 object and bucket tagging requests.\n\n`ExAws.S3.put_object_tagging/4` and `ExAws.S3.put_bucket_tagging/2` in `lib/ex_aws/s3.ex` build the `\u003cTagSet\u003e` request body by interpolating tag keys and values directly into `\u003cKey\u003e` and `\u003cValue\u003e` elements via `to_string/1`, without applying the module\u0027s existing `escape_xml_string/1` helper (which `delete_multiple_objects` already uses for object keys). An application that forwards user-supplied data as a tag key or value lets an attacker close the intended element and inject attacker-chosen `\u003cTag\u003e` entries. For example, a tag value of `blue\u003c/Value\u003e\u003c/Tag\u003e\u003cTag\u003e\u003cKey\u003eowner\u003c/Key\u003e\u003cValue\u003eadmin` turns one intended tag into two tags on the wire. Because S3 honors tags in access-control conditions (`aws:RequestTag`, `s3:ExistingObjectTag`) and cost-allocation reporting, an injected tag can forge an authorization-relevant tag or corrupt the intended tag set.\n\nThis issue affects ex_aws_s3: from 2.0.2 before 2.6.0."
            }
          ],
          "value": "XML Injection vulnerability in ex-aws ex_aws_s3 allows an attacker who controls tag keys or values to inject forged tag entries into S3 object and bucket tagging requests.\n\nExAws.S3.put_object_tagging/4 and ExAws.S3.put_bucket_tagging/2 in lib/ex_aws/s3.ex build the \u003cTagSet\u003e request body by interpolating tag keys and values directly into \u003cKey\u003e and \u003cValue\u003e elements via to_string/1, without applying the module\u0027s existing escape_xml_string/1 helper (which delete_multiple_objects already uses for object keys). An application that forwards user-supplied data as a tag key or value lets an attacker close the intended element and inject attacker-chosen \u003cTag\u003e entries. For example, a tag value of blue\u003c/Value\u003e\u003c/Tag\u003e\u003cTag\u003e\u003cKey\u003eowner\u003c/Key\u003e\u003cValue\u003eadmin turns one intended tag into two tags on the wire. Because S3 honors tags in access-control conditions (aws:RequestTag, s3:ExistingObjectTag) and cost-allocation reporting, an injected tag can forge an authorization-relevant tag or corrupt the intended tag set.\n\nThis issue affects ex_aws_s3: from 2.0.2 before 2.6.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-250",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThis is an XML injection vulnerability. It affects any application that uses \u003ccode\u003eex_aws_s3\u003c/code\u003e and passes user-influenced data as tag keys or values to \u003ccode\u003eput_object_tagging/4\u003c/code\u003e or \u003ccode\u003eput_bucket_tagging/2\u003c/code\u003e. An attacker who controls part of a tag key or value can inject additional \u003ccode\u003e\u0026lt;Tag\u0026gt;\u003c/code\u003e elements into the request S3 receives, forging tags used for tag-based access control and cost allocation, or corrupting the intended tag set. The only precondition is that user-controlled input reaches the tag key/value of one of these calls.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "This is an XML injection vulnerability. It affects any application that uses `ex_aws_s3` and passes user-influenced data as tag keys or values to `put_object_tagging/4` or `put_bucket_tagging/2`. An attacker who controls part of a tag key or value can inject additional `\u003cTag\u003e` elements into the request S3 receives, forging tags used for tag-based access control and cost allocation, or corrupting the intended tag set. The only precondition is that user-controlled input reaches the tag key/value of one of these calls."
                }
              ],
              "value": "This is an XML injection vulnerability. It affects any application that uses ex_aws_s3 and passes user-influenced data as tag keys or values to put_object_tagging/4 or put_bucket_tagging/2. An attacker who controls part of a tag key or value can inject additional \u003cTag\u003e elements into the request S3 receives, forging tags used for tag-based access control and cost allocation, or corrupting the intended tag set. The only precondition is that user-controlled input reaches the tag key/value of one of these calls."
            }
          ]
        }
      ],
      "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-24T14:15:59.569Z",
        "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-979q-5hj9-vvvv"
        },
        {
          "name": "EEF CNA record for CVE-2026-62273",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-62273.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-62273",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-62273"
        },
        {
          "name": "Introducing commit c6331b8 in ex-aws/ex_aws_s3",
          "tags": [
            "related"
          ],
          "url": "https://github.com/ex-aws/ex_aws_s3/commit/c6331b84c80f09d24d4a25cf05d8604541ce162e"
        },
        {
          "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 via unescaped tag keys and values in ex_aws_s3 object and bucket tagging",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eBefore passing user-influenced data to \u003ccode\u003eput_object_tagging/4\u003c/code\u003e or \u003ccode\u003eput_bucket_tagging/2\u003c/code\u003e, validate and reject any tag key or value containing 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, \u003ccode\u003e\u0027\u003c/code\u003e), or restrict tag keys and values to an allowlisted character set.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Before passing user-influenced data to `put_object_tagging/4` or `put_bucket_tagging/2`, validate and reject any tag key or value containing XML metacharacters (`\u003c`, `\u003e`, `\u0026`, `\"`, `\u0027`), or restrict tag keys and values to an allowlisted character set."
            }
          ],
          "value": "Before passing user-influenced data to put_object_tagging/4 or put_bucket_tagging/2, validate and reject any tag key or value containing XML metacharacters (\u003c, \u003e, \u0026, \", \u0027), or restrict tag keys and values to an allowlisted character set."
        }
      ],
      "x_proofOfConcept": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003col\u003e\n\u003cli\u003eAn application forwards a user-supplied tag value: \u003ccode\u003eExAws.S3.put_object_tagging(\"victim-bucket\", \"user/object.txt\", [{\"customer\", value}]) |\u0026gt; ExAws.request()\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe attacker supplies the value \u003ccode\u003eblue\u0026lt;/Value\u0026gt;\u0026lt;/Tag\u0026gt;\u0026lt;Tag\u0026gt;\u0026lt;Key\u0026gt;owner\u0026lt;/Key\u0026gt;\u0026lt;Value\u0026gt;admin\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003eput_object_tagging/4\u003c/code\u003e interpolates it into the \u003ccode\u003e\u0026lt;TagSet\u0026gt;\u003c/code\u003e body without escaping.\u003c/li\u003e\n\u003cli\u003eThe request body S3 receives contains two \u003ccode\u003e\u0026lt;Tag\u0026gt;\u003c/code\u003e elements: \u003ccode\u003ecustomer=blue\u003c/code\u003e and the forged \u003ccode\u003eowner=admin\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "1. An application forwards a user-supplied tag value: `ExAws.S3.put_object_tagging(\"victim-bucket\", \"user/object.txt\", [{\"customer\", value}]) |\u003e ExAws.request()`.\n2. The attacker supplies the value `blue\u003c/Value\u003e\u003c/Tag\u003e\u003cTag\u003e\u003cKey\u003eowner\u003c/Key\u003e\u003cValue\u003eadmin`.\n3. `put_object_tagging/4` interpolates it into the `\u003cTagSet\u003e` body without escaping.\n4. The request body S3 receives contains two `\u003cTag\u003e` elements: `customer=blue` and the forged `owner=admin`."
            }
          ],
          "value": "* An application forwards a user-supplied tag value: ExAws.S3.put_object_tagging(\"victim-bucket\", \"user/object.txt\", [{\"customer\", value}]) |\u003e ExAws.request().\n* The attacker supplies the value blue\u003c/Value\u003e\u003c/Tag\u003e\u003cTag\u003e\u003cKey\u003eowner\u003c/Key\u003e\u003cValue\u003eadmin.\n* put_object_tagging/4 interpolates it into the \u003cTagSet\u003e body without escaping.\n* The request body S3 receives contains two \u003cTag\u003e elements: customer=blue and the forged owner=admin."
        }
      ],
      "x_technicalAnalysis": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cstrong\u003e1. Unescaped interpolation.\u003c/strong\u003e \u003ccode\u003eExAws.S3.put_bucket_tagging/2\u003c/code\u003e and \u003ccode\u003eExAws.S3.put_object_tagging/4\u003c/code\u003e in \u003ccode\u003elib/ex_aws/s3.ex\u003c/code\u003e build each \u003ccode\u003e\u0026lt;Tag\u0026gt;\u003c/code\u003e element by placing \u003ccode\u003eto_string(key)\u003c/code\u003e and \u003ccode\u003eto_string(value)\u003c/code\u003e directly inside \u003ccode\u003e\u0026lt;Key\u0026gt;\u003c/code\u003e and \u003ccode\u003e\u0026lt;Value\u0026gt;\u003c/code\u003e. The module\u0027s \u003ccode\u003eescape_xml_string/1\u003c/code\u003e helper, which \u003ccode\u003edelete_multiple_objects\u003c/code\u003e already applies to object keys, is not used.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Element break-out.\u003c/strong\u003e XML metacharacters in a key or value are emitted verbatim. A value such as \u003ccode\u003eblue\u0026lt;/Value\u0026gt;\u0026lt;/Tag\u0026gt;\u0026lt;Tag\u0026gt;\u0026lt;Key\u0026gt;owner\u0026lt;/Key\u0026gt;\u0026lt;Value\u0026gt;admin\u003c/code\u003e closes the intended \u003ccode\u003e\u0026lt;Value\u0026gt;\u003c/code\u003e and \u003ccode\u003e\u0026lt;Tag\u0026gt;\u003c/code\u003e and opens a new \u003ccode\u003e\u0026lt;Tag\u0026gt;\u003c/code\u003e of the attacker\u0027s choosing, so S3 parses two tags where the application intended one.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Effect in S3.\u003c/strong\u003e S3 honors tags in access-control conditions (\u003ccode\u003eaws:RequestTag\u003c/code\u003e, \u003ccode\u003es3:ExistingObjectTag/\u0026lt;key\u0026gt;\u003c/code\u003e) and in cost-allocation reporting, so the injected tag can set an authorization-relevant key the application never meant to assign, or override and corrupt the legitimate tag set.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "**1. Unescaped interpolation.** `ExAws.S3.put_bucket_tagging/2` and `ExAws.S3.put_object_tagging/4` in `lib/ex_aws/s3.ex` build each `\u003cTag\u003e` element by placing `to_string(key)` and `to_string(value)` directly inside `\u003cKey\u003e` and `\u003cValue\u003e`. The module\u0027s `escape_xml_string/1` helper, which `delete_multiple_objects` already applies to object keys, is not used.\n\n**2. Element break-out.** XML metacharacters in a key or value are emitted verbatim. A value such as `blue\u003c/Value\u003e\u003c/Tag\u003e\u003cTag\u003e\u003cKey\u003eowner\u003c/Key\u003e\u003cValue\u003eadmin` closes the intended `\u003cValue\u003e` and `\u003cTag\u003e` and opens a new `\u003cTag\u003e` of the attacker\u0027s choosing, so S3 parses two tags where the application intended one.\n\n**3. Effect in S3.** S3 honors tags in access-control conditions (`aws:RequestTag`, `s3:ExistingObjectTag/\u003ckey\u003e`) and in cost-allocation reporting, so the injected tag can set an authorization-relevant key the application never meant to assign, or override and corrupt the legitimate tag set."
            }
          ],
          "value": "1. Unescaped interpolation. ExAws.S3.put_bucket_tagging/2 and ExAws.S3.put_object_tagging/4 in lib/ex_aws/s3.ex build each \u003cTag\u003e element by placing to_string(key) and to_string(value) directly inside \u003cKey\u003e and \u003cValue\u003e. The module\u0027s escape_xml_string/1 helper, which delete_multiple_objects already applies to object keys, is not used.\n\n2. Element break-out. XML metacharacters in a key or value are emitted verbatim. A value such as blue\u003c/Value\u003e\u003c/Tag\u003e\u003cTag\u003e\u003cKey\u003eowner\u003c/Key\u003e\u003cValue\u003eadmin closes the intended \u003cValue\u003e and \u003cTag\u003e and opens a new \u003cTag\u003e of the attacker\u0027s choosing, so S3 parses two tags where the application intended one.\n\n3. Effect in S3. S3 honors tags in access-control conditions (aws:RequestTag, s3:ExistingObjectTag/\u003ckey\u003e) and in cost-allocation reporting, so the injected tag can set an authorization-relevant key the application never meant to assign, or override and corrupt the legitimate tag set."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-62273",
    "datePublished": "2026-11-24T14:15:59.569Z",
    "dateReserved": "2026-07-13T18:06:12.918Z",
    "dateUpdated": "2026-11-25T20:06:23.281Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-59728 (GCVE-0-2026-59728)

Vulnerability from cvelistv5 – Published: 2026-07-27 19:54 – Updated: 2026-07-28 14:27
VLAI
Title
@astrojs/rss: XML Injection via Unescaped RSS Feed Fields
Summary
Astro is a web framework for content-driven websites. In versions 1.0.0 through 4.0.18, the source.title and enclosure.type item fields in packages/astro-rss/src/index.ts are interpolated directly into XML template strings without XML-character escaping before being parsed by fast-xml-parser. Both fields are validated only as z.string(), placing no restriction on XML special characters. An attacker who controls these values can inject arbitrary XML into the generated RSS feed: a value containing " can break out of an attribute (as with enclosure.type), and a value containing </source> can close an element early and inject additional nodes (as with source.title). This corrupts feed structure, injects false metadata (for example, a fake <link> pointing to a malicious URL), and can cause feed readers to misparse or display attacker-controlled content. In SSR mode (output: 'server'), the poisoned feed is served on every request to all subscribers. This issue has been fixed in version 4.0.19.
SSVC
Exploitation: poc Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-07-28 14:27 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
withastro astro Affected: >= 1.0.0, < 4.0.19
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-59728",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-07-28T14:27:36.621244Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-07-28T14:27:56.334Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/withastro/astro/security/advisories/GHSA-8j5q-mfj2-5q9q"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "astro",
          "vendor": "withastro",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 1.0.0, \u003c 4.0.19"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Astro is a web framework for content-driven websites. In versions 1.0.0 through 4.0.18, the source.title and enclosure.type item fields in packages/astro-rss/src/index.ts are interpolated directly into XML template strings without XML-character escaping before being parsed by fast-xml-parser. Both fields are validated only as z.string(), placing no restriction on XML special characters. An attacker who controls these values can inject arbitrary XML into the generated RSS feed: a value containing \" can break out of an attribute (as with enclosure.type), and a value containing \u003c/source\u003e can close an element early and inject additional nodes (as with source.title). This corrupts feed structure, injects false metadata (for example, a fake \u003clink\u003e pointing to a malicious URL), and can cause feed readers to misparse or display attacker-controlled content. In SSR mode (output: \u0027server\u0027), the poisoned feed is served on every request to all subscribers. This issue has been fixed in version 4.0.19."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91: XML Injection (aka Blind XPath Injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-27T19:54:23.009Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/withastro/astro/security/advisories/GHSA-8j5q-mfj2-5q9q",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/withastro/astro/security/advisories/GHSA-8j5q-mfj2-5q9q"
        },
        {
          "name": "https://github.com/withastro/astro/pull/17209",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/withastro/astro/pull/17209"
        },
        {
          "name": "https://github.com/withastro/astro/commit/fbcfa039dfe3d700b239f595a6c55ee35e45bd06",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/withastro/astro/commit/fbcfa039dfe3d700b239f595a6c55ee35e45bd06"
        },
        {
          "name": "https://github.com/withastro/astro/releases/tag/@astrojs/rss@4.0.19",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/withastro/astro/releases/tag/@astrojs/rss@4.0.19"
        }
      ],
      "source": {
        "advisory": "GHSA-8j5q-mfj2-5q9q",
        "discovery": "UNKNOWN"
      },
      "title": "@astrojs/rss: XML Injection via Unescaped RSS Feed Fields"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-59728",
    "datePublished": "2026-07-27T19:54:23.009Z",
    "dateReserved": "2026-07-06T15:34:16.917Z",
    "dateUpdated": "2026-07-28T14:27:56.334Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-55789 (GCVE-0-2026-55789)

Vulnerability from cvelistv5 – Published: 2026-07-10 19:55 – Updated: 2026-07-13 18:16
VLAI
Title
Logto: SAML IdP injects user-controlled profile attributes raw into signed assertions, allowing privilege escalation at relying Service Providers
Summary
Logto is the modern, open-source auth infrastructure for SaaS and AI apps. Prior to 1.41.0, Logto's self-hosted SAML application IdP built the signed SAML response and assertion by string-substituting user-controlled profile attributes such as name, email, and custom attribute-mapping values into element-text placeholders of a SAML XML template using samlify 2.10.0, which left those placeholders unescaped. An authenticated low-privilege user could place XML markup in a profile attribute so Logto signed a forged SAML attribute, such as an arbitrary role, allowing privilege escalation at relying Service Providers that authorize on SAML attributes. This issue is fixed in version 1.41.0.
SSVC
Exploitation: poc Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-07-13 18:16 UTC
CWE
  • CWE-91 - XML Injection (aka Blind XPath Injection)
  • CWE-1395 - Dependency on Vulnerable Third-Party Component
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
logto-io logto Affected: < 1.41.0
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-55789",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-07-13T18:16:09.500167Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-07-13T18:16:18.449Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "logto",
          "vendor": "logto-io",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 1.41.0"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Logto is the modern, open-source auth infrastructure for SaaS and AI apps. Prior to 1.41.0, Logto\u0027s self-hosted SAML application IdP built the signed SAML response and assertion by string-substituting user-controlled profile attributes such as name, email, and custom attribute-mapping values into element-text placeholders of a SAML XML template using samlify 2.10.0, which left those placeholders unescaped. An authenticated low-privilege user could place XML markup in a profile attribute so Logto signed a forged SAML attribute, such as an arbitrary role, allowing privilege escalation at relying Service Providers that authorize on SAML attributes. This issue is fixed in version 1.41.0."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 8.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91: XML Injection (aka Blind XPath Injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-1395",
              "description": "CWE-1395: Dependency on Vulnerable Third-Party Component",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-10T19:55:37.360Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63"
        },
        {
          "name": "https://github.com/logto-io/logto/pull/9107",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/logto-io/logto/pull/9107"
        },
        {
          "name": "https://github.com/logto-io/logto/commit/9097054860f0d638d90778d3dcde2ba050b844b6",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/logto-io/logto/commit/9097054860f0d638d90778d3dcde2ba050b844b6"
        },
        {
          "name": "https://github.com/logto-io/logto/releases/tag/v1.41.0",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/logto-io/logto/releases/tag/v1.41.0"
        }
      ],
      "source": {
        "advisory": "GHSA-vfpw-vq44-4p63",
        "discovery": "UNKNOWN"
      },
      "title": "Logto: SAML IdP injects user-controlled profile attributes raw into signed assertions, allowing privilege escalation at relying Service Providers"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-55789",
    "datePublished": "2026-07-10T19:55:37.360Z",
    "dateReserved": "2026-06-17T14:40:28.380Z",
    "dateUpdated": "2026-07-13T18:16:18.449Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-53723 (GCVE-0-2026-53723)

Vulnerability from cvelistv5 – Published: 2026-06-11 12:42 – Updated: 2026-06-11 16:13
VLAI
Title
guzzlehttp/guzzle-services' XML Request Serialization Vulnerable to XML Injection via CDATA Terminator
Summary
Guzzle Services provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures. Versions prior ro 1.5.4 do not safely serialize scalar XML element values containing the CDATA terminator `]]>`. The XML request serializer writes values containing `<`, `>`, or `&` with `XMLWriter::writeCData($value)`. If attacker-controlled input contains `]]>`, the CDATA section closes early and the remainder is interpreted as XML markup. This is an outgoing request-body integrity issue, not a response parsing issue. The attacker does not need to control the service description or schema. Users are affected when all of the following are true: the application uses `guzzlehttp/guzzle-services` to serialize outgoing requests; a request parameter or `additionalParameters` schema uses `location: xml`; the value is serialized as XML element text, not an XML attribute; the value can contain attacker-controlled, user-controlled, tenant-controlled, or otherwise untrusted input; the value is not constrained by a safe `enum`, `pattern`, or custom filter that excludes `]]>`; and the downstream service parses the generated XML structurally and may act on unexpected, duplicated, or injected elements. Applications that serialize untrusted input into `location: xml` request parameters can emit XML containing attacker-controlled elements outside the intended text node. Depending on the receiving service, this can alter operation semantics, smuggle privileged fields, bypass modeled parameter boundaries, or create conflicting duplicated elements. Fixed service descriptions are sufficient if they contain an XML element parameter populated from attacker-controlled input. Users are not directly affected if they only use Guzzle Services to deserialize HTTP response bodies. Response XML parsing uses the response XML location visitor and does not invoke the vulnerable request XML serializer. Response bodies matter only in a second-order flow, such as parsing attacker-controlled response XML, storing or forwarding a parsed string value, and later using it as a `location: xml` request parameter. The issue is patched in `1.5.3` and later by safely splitting embedded CDATA terminators before serialization. The fix preserves the original scalar value as XML text and prevents injected nodes. As a workaround, constrain attacker-controlled XML element values with a strict `enum`, `pattern`, or custom filter that excludes `]]>`, or avoid serializing untrusted data into `location: xml` element text until patched. Where appropriate for the service schema, XML attributes are not affected because they are written with XMLWriter attribute APIs rather than CDATA sections. To determine whether action is needed, search service descriptions for request parameters using `location: xml`, including operation `parameters` and `additionalParameters`. Response-only `models` are not directly affected unless parsed values are reused for request serialization. For object and array parameters, review nested scalar properties because leaf element values can still be affected.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-06-11 15:57 UTC
CWE
  • CWE-20 - Improper Input Validation
  • 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
References
Impacted products
Vendor Product Version
guzzle guzzle-services Affected: < 1.5.4
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-53723",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-11T15:57:24.654072Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-11T16:13:18.490Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "guzzle-services",
          "vendor": "guzzle",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 1.5.4"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Guzzle Services provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures. Versions prior ro 1.5.4 do not safely serialize scalar XML element values containing the CDATA terminator `]]\u003e`. The XML request serializer writes values containing `\u003c`, `\u003e`, or `\u0026` with `XMLWriter::writeCData($value)`. If attacker-controlled input contains `]]\u003e`, the CDATA section closes early and the remainder is interpreted as XML markup. This is an outgoing request-body integrity issue, not a response parsing issue. The attacker does not need to control the service description or schema. Users are affected when all of the following are true: the application uses `guzzlehttp/guzzle-services` to serialize outgoing requests; a request parameter or `additionalParameters` schema uses `location: xml`; the value is serialized as XML element text, not an XML attribute; the value can contain attacker-controlled, user-controlled, tenant-controlled, or otherwise untrusted input; the value is not constrained by a safe `enum`, `pattern`, or custom filter that excludes `]]\u003e`; and the downstream service parses the generated XML structurally and may act on unexpected, duplicated, or injected elements. Applications that serialize untrusted input into `location: xml` request parameters can emit XML containing attacker-controlled elements outside the intended text node. Depending on the receiving service, this can alter operation semantics, smuggle privileged fields, bypass modeled parameter boundaries, or create conflicting duplicated elements. Fixed service descriptions are sufficient if they contain an XML element parameter populated from attacker-controlled input. Users are not directly affected if they only use Guzzle Services to deserialize HTTP response bodies. Response XML parsing uses the response XML location visitor and does not invoke the vulnerable request XML serializer. Response bodies matter only in a second-order flow, such as parsing attacker-controlled response XML, storing or forwarding a parsed string value, and later using it as a `location: xml` request parameter. The issue is patched in `1.5.3` and later by safely splitting embedded CDATA terminators before serialization. The fix preserves the original scalar value as XML text and prevents injected nodes. As a workaround, constrain attacker-controlled XML element values with a strict `enum`, `pattern`, or custom filter that excludes `]]\u003e`, or avoid serializing untrusted data into `location: xml` element text until patched. Where appropriate for the service schema, XML attributes are not affected because they are written with XMLWriter attribute APIs rather than CDATA sections. To determine whether action is needed, search service descriptions for request parameters using `location: xml`, including operation `parameters` and `additionalParameters`. Response-only `models` are not directly affected unless parsed values are reused for request serialization. For object and array parameters, review nested scalar properties because leaf element values can still be affected."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20: Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91: XML Injection (aka Blind XPath Injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-11T12:42:42.919Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/guzzle/guzzle-services/security/advisories/GHSA-q8r6-5hfw-5jff",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/guzzle/guzzle-services/security/advisories/GHSA-q8r6-5hfw-5jff"
        }
      ],
      "source": {
        "advisory": "GHSA-q8r6-5hfw-5jff",
        "discovery": "UNKNOWN"
      },
      "title": "guzzlehttp/guzzle-services\u0027 XML Request Serialization Vulnerable to XML Injection via CDATA Terminator"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-53723",
    "datePublished": "2026-06-11T12:42:42.919Z",
    "dateReserved": "2026-06-10T16:43:31.242Z",
    "dateUpdated": "2026-06-11T16:13:18.490Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-53582 (GCVE-0-2026-53582)

Vulnerability from cvelistv5 – Published: 2026-10-15 15:08 – Updated: 2026-10-16 17:13
VLAI
Title
OPNsense: XPATH Injection can disclose any secret in config.xml
Summary
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.10, the Trust module stores attacker-controlled certificate authority and certificate refid values and interpolates them into XPath expressions in src/opnsense/mvc/app/models/OPNsense/Trust/FieldTypes/CAsField.php and src/opnsense/mvc/app/models/OPNsense/Trust/FieldTypes/CertificatesField.php. A user with CA Manager or Certificate Manager privileges can submit a crafted refid and repeatedly retrieve the object to obtain a boolean refcount oracle, allowing values in config.xml to be recovered character by character. Exposed values can include password hashes, API credentials, certificate private keys, VPN key material, and high-availability credentials, enabling privilege escalation and compromise of other security domains. This issue is fixed in version 26.1.10.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-15 20:24 UTC
CWE
  • CWE-91 - XML Injection (aka Blind XPath Injection)
  • CWE-643 - Improper Neutralization of Data within XPath Expressions ('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
opnsense core Affected: < 26.1.10
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2026-10-15T15:12:04.797Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "http://seclists.org/fulldisclosure/2026/Jul/18"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-53582",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-15T20:24:37.654161Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-16T17:13:42.903Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "core",
          "vendor": "opnsense",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 26.1.10"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.10, the Trust module stores attacker-controlled certificate authority and certificate refid values and interpolates them into XPath expressions in src/opnsense/mvc/app/models/OPNsense/Trust/FieldTypes/CAsField.php and src/opnsense/mvc/app/models/OPNsense/Trust/FieldTypes/CertificatesField.php. A user with CA Manager or Certificate Manager privileges can submit a crafted refid and repeatedly retrieve the object to obtain a boolean refcount oracle, allowing values in config.xml to be recovered character by character. Exposed values can include password hashes, API credentials, certificate private keys, VPN key material, and high-availability credentials, enabling privilege escalation and compromise of other security domains. This issue is fixed in version 26.1.10."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:L",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91: XML Injection (aka Blind XPath Injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-643",
              "description": "CWE-643: Improper Neutralization of Data within XPath Expressions (\u0027XPath Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-15T15:08:46.374Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/opnsense/core/security/advisories/GHSA-xww7-76m6-mh2r",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/opnsense/core/security/advisories/GHSA-xww7-76m6-mh2r"
        },
        {
          "name": "https://github.com/opnsense/core/commit/e2cd067343511252fb0d391a17d82d3ecceece45",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/opnsense/core/commit/e2cd067343511252fb0d391a17d82d3ecceece45"
        },
        {
          "name": "https://github.com/opnsense/core/commit/fc2f0d745c17855d2027b192fd4e3fa913e26859",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/opnsense/core/commit/fc2f0d745c17855d2027b192fd4e3fa913e26859"
        }
      ],
      "source": {
        "advisory": "GHSA-xww7-76m6-mh2r",
        "discovery": "UNKNOWN"
      },
      "title": "OPNsense: XPATH Injection can disclose any secret in config.xml"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-53582",
    "datePublished": "2026-10-15T15:08:46.374Z",
    "dateReserved": "2026-06-09T19:11:53.484Z",
    "dateUpdated": "2026-10-16T17:13:42.903Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-48590 (GCVE-0-2026-48590)

Vulnerability from cvelistv5 – Published: 2026-08-21 09:51 – Updated: 2026-11-19 08:43
VLAI
Title
Element and Attribute Names Injected Verbatim into XML Output in xml_builder
Summary
XML Injection vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, XML Injection. This vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.element/1, XmlBuilder.element/2, XmlBuilder.element/3. Element names, attribute names, and doctype identifiers are interpolated verbatim into the serialized XML output without validation or escaping of structural characters (<, >, ", ', &). An attacker who can influence a name argument (for example, an element name derived from a JSON object key or an HTTP form field name) can inject arbitrary XML markup including extra elements, comments, and event-handler attributes into the output document. This issue affects xml_builder: from 0.0.1 before 2.4.1.
SSVC
Exploitation: poc Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-21 12:24 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
joshnuss xml_builder Affected: 0.0.1 , < 2.4.1 (semver)
    cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*
Create a notification for this product.
joshnuss xml_builder Affected: 9fb49131ad3ee146a4c9db9bc175bdffe32e30a0 , < d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859 (git)
    cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-48590",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-21T12:24:58.189871Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-21T12:25:33.127Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/joshnuss/xml_builder/security/advisories/GHSA-r82p-3q2p-728w"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.XmlBuilder\u0027"
          ],
          "packageName": "xml_builder",
          "packageURL": "pkg:hex/xml_builder",
          "product": "xml_builder",
          "programFiles": [
            "lib/xml_builder.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:generate/1"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:generate/2"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:element/1"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:element/2"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:element/3"
            }
          ],
          "repo": "https://github.com/joshnuss/xml_builder",
          "vendor": "joshnuss",
          "versions": [
            {
              "lessThan": "2.4.1",
              "status": "affected",
              "version": "0.0.1",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.XmlBuilder\u0027"
          ],
          "packageName": "joshnuss/xml_builder",
          "packageURL": "pkg:github/joshnuss/xml_builder",
          "product": "xml_builder",
          "programFiles": [
            "lib/xml_builder.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:generate/1"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:generate/2"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:element/1"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:element/2"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:element/3"
            }
          ],
          "repo": "https://github.com/joshnuss/xml_builder",
          "vendor": "joshnuss",
          "versions": [
            {
              "lessThan": "d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859",
              "status": "affected",
              "version": "9fb49131ad3ee146a4c9db9bc175bdffe32e30a0",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.4.1",
                  "versionStartIncluding": "0.0.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Joshua Nussbaum"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eXML Injection vulnerability in joshnuss xml_builder (\u003ccode\u003eXmlBuilder\u003c/code\u003e module) allows Content Spoofing, XML Injection.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is associated with program files \u003ccode\u003elib/xml_builder.ex\u003c/code\u003e and program routines \u003ccode\u003eXmlBuilder.generate/1\u003c/code\u003e, \u003ccode\u003eXmlBuilder.generate/2\u003c/code\u003e, \u003ccode\u003eXmlBuilder.element/1\u003c/code\u003e, \u003ccode\u003eXmlBuilder.element/2\u003c/code\u003e, \u003ccode\u003eXmlBuilder.element/3\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eElement names, attribute names, and doctype identifiers are interpolated verbatim into the serialized XML output without validation or escaping of structural characters (\u003ccode\u003e\u0026lt;\u003c/code\u003e, \u003ccode\u003e\u0026gt;\u003c/code\u003e, \u003ccode\u003e\"\u003c/code\u003e, \u003ccode\u003e\u0027\u003c/code\u003e, \u003ccode\u003e\u0026amp;\u003c/code\u003e). An attacker who can influence a name argument (for example, an element name derived from a JSON object key or an HTTP form field name) can inject arbitrary XML markup including extra elements, comments, and event-handler attributes into the output document.\u003c/p\u003e\n\u003cp\u003eThis issue affects xml_builder: from 0.0.1 before 2.4.1.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "XML Injection vulnerability in joshnuss xml_builder (`XmlBuilder` module) allows Content Spoofing, XML Injection.\n\nThis vulnerability is associated with program files `lib/xml_builder.ex` and program routines `XmlBuilder.generate/1`, `XmlBuilder.generate/2`, `XmlBuilder.element/1`, `XmlBuilder.element/2`, `XmlBuilder.element/3`.\n\nElement names, attribute names, and doctype identifiers are interpolated verbatim into the serialized XML output without validation or escaping of structural characters (`\u003c`, `\u003e`, `\"`, `\u0027`, `\u0026`). An attacker who can influence a name argument (for example, an element name derived from a JSON object key or an HTTP form field name) can inject arbitrary XML markup including extra elements, comments, and event-handler attributes into the output document.\n\nThis issue affects xml_builder: from 0.0.1 before 2.4.1."
            }
          ],
          "value": "XML Injection vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, XML Injection.\n\nThis vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.element/1, XmlBuilder.element/2, XmlBuilder.element/3.\n\nElement names, attribute names, and doctype identifiers are interpolated verbatim into the serialized XML output without validation or escaping of structural characters (\u003c, \u003e, \", \u0027, \u0026). An attacker who can influence a name argument (for example, an element name derived from a JSON object key or an HTTP form field name) can inject arbitrary XML markup including extra elements, comments, and event-handler attributes into the output document.\n\nThis issue affects xml_builder: from 0.0.1 before 2.4.1."
        }
      ],
      "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:N/VA:N/SC:N/SI:L/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "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-19T08:43:18.090Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/joshnuss/xml_builder/security/advisories/GHSA-r82p-3q2p-728w"
        },
        {
          "name": "EEF CNA record for CVE-2026-48590",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-48590.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-48590",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-48590"
        },
        {
          "name": "Introducing commit 9fb4913 in joshnuss/xml_builder",
          "tags": [
            "related"
          ],
          "url": "https://github.com/joshnuss/xml_builder/commit/9fb49131ad3ee146a4c9db9bc175bdffe32e30a0"
        },
        {
          "name": "Fix commit d5c0aec in joshnuss/xml_builder",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/joshnuss/xml_builder/commit/d5c0aec32a8eecbb440fb9bbb0f59d4d188d5859"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Element and Attribute Names Injected Verbatim into XML Output in xml_builder"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-48590",
    "datePublished": "2026-08-21T09:51:25.412Z",
    "dateReserved": "2026-05-22T09:36:56.833Z",
    "dateUpdated": "2026-11-19T08:43:18.090Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-47273 (GCVE-0-2026-47273)

Vulnerability from cvelistv5 – Published: 2026-05-27 20:03 – Updated: 2026-05-28 13:26
VLAI
Title
pam_usb: XPath injection via PAM-supplied identifiers in pam_usb configuration queries
Summary
pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, pam_usb builds XPath expressions from user-supplied identifiers (PAM username, service name) and device-supplied identifiers (USB device serial, model, vendor) to query /etc/pamusb.conf. These identifiers were not validated for XPath metacharacters, allowing injection of arbitrary XPath predicates. This vulnerability is fixed in 0.9.0.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-05-28 13:26 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
mcdope pam_usb Affected: < 0.9.0
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-47273",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-05-28T13:26:03.390650Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-05-28T13:26:13.079Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "pam_usb",
          "vendor": "mcdope",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 0.9.0"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, pam_usb builds XPath expressions from user-supplied identifiers (PAM username, service name) and device-supplied identifiers (USB device serial, model, vendor) to query /etc/pamusb.conf. These identifiers were not validated for XPath metacharacters, allowing injection of arbitrary XPath predicates. This vulnerability is fixed in 0.9.0."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-91",
              "description": "CWE-91: XML Injection (aka Blind XPath Injection)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-27T20:03:39.297Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/mcdope/pam_usb/security/advisories/GHSA-vfj3-5h5v-6g93",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/mcdope/pam_usb/security/advisories/GHSA-vfj3-5h5v-6g93"
        },
        {
          "name": "https://github.com/mcdope/pam_usb/pull/311",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/mcdope/pam_usb/pull/311"
        },
        {
          "name": "https://github.com/mcdope/pam_usb/commit/721fed08a3596cb5b4671ad702f8fdc12dcc7420",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/mcdope/pam_usb/commit/721fed08a3596cb5b4671ad702f8fdc12dcc7420"
        }
      ],
      "source": {
        "advisory": "GHSA-vfj3-5h5v-6g93",
        "discovery": "UNKNOWN"
      },
      "title": "pam_usb: XPath injection via PAM-supplied identifiers in pam_usb configuration queries"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-47273",
    "datePublished": "2026-05-27T20:03:39.297Z",
    "dateReserved": "2026-05-18T23:03:37.230Z",
    "dateUpdated": "2026-05-28T13:26:13.079Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-47080 (GCVE-0-2026-47080)

Vulnerability from cvelistv5 – Published: 2026-08-21 09:49 – Updated: 2026-11-19 08:43
VLAI
Title
CDATA Section Breakout via Unsanitised ]]> in xml_builder
Summary
XML Injection vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, XML Injection. This vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.escape/1. The escape/1 clause for {:cdata, data} in lib/xml_builder.ex concatenates data verbatim between the CDATA opener <![CDATA[ and closer ]]> without rewriting or splitting on the embedded ]]> sequence. Because CDATA sections have no internal escape mechanism, the only safe way to embed arbitrary bytes is to split on ]]> and emit adjacent CDATA sections. An attacker who can supply input containing ]]> closes the CDATA section early; any bytes that follow are parsed as ordinary XML markup by downstream consumers, allowing injection of arbitrary elements, text, or entity references into the output document. This issue affects xml_builder: from 0.0.7 before 2.4.1.
SSVC
Exploitation: poc Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-21 12:30 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
joshnuss xml_builder Affected: 0.0.7 , < 2.4.1 (semver)
    cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*
Create a notification for this product.
joshnuss xml_builder Affected: 26766f884ed19adee1563522c7afb5f056a6f3b5 , < bfb1ada071ccc1e384c30f782197ca5154106706 (git)
    cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-47080",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-21T12:30:05.428465Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-21T12:32:15.846Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://vincent.vulcoord.net/score/?state=Not+Scored\u0026year=2026\u0026year=2025\u0026assigned_to=88bc49d9-8ddd-4227-affc-a613e67abc4d\u0026ordering=-published\u0026cve=CVE-2026-47080"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.XmlBuilder\u0027"
          ],
          "packageName": "xml_builder",
          "packageURL": "pkg:hex/xml_builder",
          "product": "xml_builder",
          "programFiles": [
            "lib/xml_builder.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:generate/1"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:generate/2"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:escape/1"
            }
          ],
          "repo": "https://github.com/joshnuss/xml_builder",
          "vendor": "joshnuss",
          "versions": [
            {
              "lessThan": "2.4.1",
              "status": "affected",
              "version": "0.0.7",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.XmlBuilder\u0027"
          ],
          "packageName": "joshnuss/xml_builder",
          "packageURL": "pkg:github/joshnuss/xml_builder",
          "product": "xml_builder",
          "programFiles": [
            "lib/xml_builder.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:generate/1"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:generate/2"
            },
            {
              "name": "\u0027Elixir.XmlBuilder\u0027:escape/1"
            }
          ],
          "repo": "https://github.com/joshnuss/xml_builder",
          "vendor": "joshnuss",
          "versions": [
            {
              "lessThan": "bfb1ada071ccc1e384c30f782197ca5154106706",
              "status": "affected",
              "version": "26766f884ed19adee1563522c7afb5f056a6f3b5",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:joshnuss:xml_builder:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.4.1",
                  "versionStartIncluding": "0.0.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Joshua Nussbaum"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eXML Injection vulnerability in joshnuss xml_builder (\u003ccode\u003eXmlBuilder\u003c/code\u003e module) allows Content Spoofing, XML Injection.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is associated with program files \u003ccode\u003elib/xml_builder.ex\u003c/code\u003e and program routines \u003ccode\u003eXmlBuilder.generate/1\u003c/code\u003e, \u003ccode\u003eXmlBuilder.generate/2\u003c/code\u003e, \u003ccode\u003eXmlBuilder.escape/1\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThe \u003ccode\u003eescape/1\u003c/code\u003e clause for \u003ccode\u003e{:cdata, data}\u003c/code\u003e in \u003ccode\u003elib/xml_builder.ex\u003c/code\u003e concatenates data verbatim between the CDATA opener \u003ccode\u003e\u0026lt;![CDATA[\u003c/code\u003e and closer \u003ccode\u003e]]\u0026gt;\u003c/code\u003e without rewriting or splitting on the embedded \u003ccode\u003e]]\u0026gt;\u003c/code\u003e sequence. Because CDATA sections have no internal escape mechanism, the only safe way to embed arbitrary bytes is to split on \u003ccode\u003e]]\u0026gt;\u003c/code\u003e and emit adjacent CDATA sections. An attacker who can supply input containing \u003ccode\u003e]]\u0026gt;\u003c/code\u003e closes the CDATA section early; any bytes that follow are parsed as ordinary XML markup by downstream consumers, allowing injection of arbitrary elements, text, or entity references into the output document.\u003c/p\u003e\n\u003cp\u003eThis issue affects xml_builder: from 0.0.7 before 2.4.1.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "XML Injection vulnerability in joshnuss xml_builder (`XmlBuilder` module) allows Content Spoofing, XML Injection.\n\nThis vulnerability is associated with program files `lib/xml_builder.ex` and program routines `XmlBuilder.generate/1`, `XmlBuilder.generate/2`, `XmlBuilder.escape/1`.\n\nThe `escape/1` clause for `{:cdata, data}` in `lib/xml_builder.ex` concatenates data verbatim between the CDATA opener `\u003c![CDATA[` and closer `]]\u003e` without rewriting or splitting on the embedded `]]\u003e` sequence. Because CDATA sections have no internal escape mechanism, the only safe way to embed arbitrary bytes is to split on `]]\u003e` and emit adjacent CDATA sections. An attacker who can supply input containing `]]\u003e` closes the CDATA section early; any bytes that follow are parsed as ordinary XML markup by downstream consumers, allowing injection of arbitrary elements, text, or entity references into the output document.\n\nThis issue affects xml_builder: from 0.0.7 before 2.4.1."
            }
          ],
          "value": "XML Injection vulnerability in joshnuss xml_builder (XmlBuilder module) allows Content Spoofing, XML Injection.\n\nThis vulnerability is associated with program files lib/xml_builder.ex and program routines XmlBuilder.generate/1, XmlBuilder.generate/2, XmlBuilder.escape/1.\n\nThe escape/1 clause for {:cdata, data} in lib/xml_builder.ex concatenates data verbatim between the CDATA opener \u003c![CDATA[ and closer ]]\u003e without rewriting or splitting on the embedded ]]\u003e sequence. Because CDATA sections have no internal escape mechanism, the only safe way to embed arbitrary bytes is to split on ]]\u003e and emit adjacent CDATA sections. An attacker who can supply input containing ]]\u003e closes the CDATA section early; any bytes that follow are parsed as ordinary XML markup by downstream consumers, allowing injection of arbitrary elements, text, or entity references into the output document.\n\nThis issue affects xml_builder: from 0.0.7 before 2.4.1."
        }
      ],
      "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:N/VA:N/SC:N/SI:L/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "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-19T08:43:24.096Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/joshnuss/xml_builder/security/advisories/GHSA-67r9-hmxw-h595"
        },
        {
          "name": "EEF CNA record for CVE-2026-47080",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-47080.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-47080",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-47080"
        },
        {
          "name": "Introducing commit 26766f8 in joshnuss/xml_builder",
          "tags": [
            "related"
          ],
          "url": "https://github.com/joshnuss/xml_builder/commit/26766f884ed19adee1563522c7afb5f056a6f3b5"
        },
        {
          "name": "Fix commit bfb1ada in joshnuss/xml_builder",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/joshnuss/xml_builder/commit/bfb1ada071ccc1e384c30f782197ca5154106706"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "CDATA Section Breakout via Unsanitised ]]\u003e in xml_builder"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-47080",
    "datePublished": "2026-08-21T09:49:34.772Z",
    "dateReserved": "2026-05-18T17:28:10.319Z",
    "dateUpdated": "2026-11-19T08:43:24.096Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-46490 (GCVE-0-2026-46490)

Vulnerability from cvelistv5 – Published: 2026-06-08 18:41 – Updated: 2026-06-09 15:13
VLAI
Title
samlify: XML Injection in AttributeValue Allows Privilege Escalation in Signed SAML Assertions
Summary
samlify is a Node.js library for SAML single sign-on. Prior to version 2.13.0, samlify’s template substitution only escapes attribute contexts. Values inserted into element text (e.g., <saml:AttributeValue>) are not escaped. A normal user can inject XML markup into an attribute value (e.g., email, name) and add new <saml:Attribute> elements inside the signed assertion. The IdP then signs the tampered assertion and the SP accepts the injected attributes as trusted. This allows privilege escalation when attributes are used for authorization (roles/groups). This issue has been patched in version 2.13.0.
SSVC
Exploitation: poc Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-06-09 14:51 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
References
Impacted products
Vendor Product Version
tngan samlify Affected: < 2.13.0
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-46490",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-09T14:51:00.913741Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-09T15:13:53.540Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/tngan/samlify/security/advisories/GHSA-34r5-q4jw-r36m"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "samlify",
          "vendor": "tngan",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 2.13.0"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "samlify is a Node.js library for SAML single sign-on. Prior to version 2.13.0, samlify\u2019s template substitution only escapes attribute contexts. Values inserted into element text (e.g., \u003csaml:AttributeValue\u003e) are not escaped. A normal user can inject XML markup into an attribute value (e.g., email, name) and add new \u003csaml:Attribute\u003e elements inside the signed assertion. The IdP then signs the tampered assertion and the SP accepts the injected attributes as trusted. This allows privilege escalation when attributes are used for authorization (roles/groups). This issue has been patched in version 2.13.0."
        }
      ],
      "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-06-08T18:41:40.145Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/tngan/samlify/security/advisories/GHSA-34r5-q4jw-r36m",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/tngan/samlify/security/advisories/GHSA-34r5-q4jw-r36m"
        }
      ],
      "source": {
        "advisory": "GHSA-34r5-q4jw-r36m",
        "discovery": "UNKNOWN"
      },
      "title": "samlify: XML Injection in AttributeValue Allows Privilege Escalation in Signed SAML Assertions"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-46490",
    "datePublished": "2026-06-08T18:41:40.145Z",
    "dateReserved": "2026-05-14T18:06:06.811Z",
    "dateUpdated": "2026-06-09T15:13:53.540Z",
    "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.