Improper Neutralization of Data within XPath Expressions ('XPath Injection') Affecting simplesamlphp/saml2 package, versions <4.20.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SIMPLESAMLPHPSAML2-17798854
  • published2 Jul 2026
  • disclosed2 Jul 2026
  • creditUnknown

Introduced: 2 Jul 2026

NewCVE-2026-49289  (opens in a new tab)
CWE-643  (opens in a new tab)

How to fix?

Upgrade simplesamlphp/saml2 to version 4.20.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Data within XPath Expressions ('XPath Injection') through the XPath Transform process. An attacker can cause the application to become unresponsive or crash by sending specially crafted messages that exploit this process.

References

CVSS Base Scores

version 4.0
version 3.1