CVE-2026-54783: Xml Signature Wrapping Global Search

Locating XML elements via the `GetElementsByTagName` method and passing them to `LoadXml` exposes the application to XML Signature Wrapping (XSW) attacks. An attacker can inject a forged signature or encrypted payload into an unexpected part of the document, which the search will find and blindly trust. Use explicit path traversal or strictly bounded context

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C#
greprules fetch cve-2026-54783-xml-signature-wrapping-global-search --engine opengrep

Description

Locating XML elements via the `GetElementsByTagName` method and passing them to `LoadXml` exposes the application to XML Signature Wrapping (XSW) attacks. An attacker can inject a forged signature or encrypted payload into an unexpected part of the document, which the search will find and blindly trust. Use explicit path traversal or strictly bounded context