CVE-2023-49087
HIGH 7.5CVSS 3.1Validation of SignedInfo
xml-security is a library that implements XML signatures and encryption. Validation of an XML signature requires verification that the hash value of the related XML-document matches a specific DigestValue-value, but also that the cryptographic signature on the SignedInfo-tree (the one that contains the DigestValue) verifies and matches a trusted public key. If an attacker somehow (i.e. by exploiting a bug in PHP's canonicalization function) manages to manipulate the canonicalized version's DigestValue, it would be possible to forge the signature. This issue has been patched in version 1.6.12 and 5.0.0-alpha.13.
- Published
- 30 Nov 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-345
- Also known as
- GHSA-ww7x-3gxh-qm6r
- Sources
- NVDJSONOSV GHSA-ww7x-3gxh-qm6rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | simplesamlphp | saml2cpe:2.3:a:simplesamlphp:saml2:5.0.0:alpha12:*:*:*:*:*:* |
= 5.0.0 | |
| NVD | simplesamlphp | xml-securitycpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:* |
= 1.6.11 | |
| OSV | Packagist | simplesamlphp/xml-security | >= 1.6.11, < 1.6.12 | 1.6.12 |
| OSV | Packagist | simplesamlphp/saml2 | >= 5.0.0-alpha.12, < 5.0.0-alpha.13 | 5.0.0-alpha.13 |
References
- https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581 · Patch, WEB
- https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-49087 · ADVISORY
- https://github.com/simplesamlphp/xml-security · PACKAGE
- https://github.com/simplesamlphp/xml-security/blob/master/src/XML/SignedElementTrait.php · WEB
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 30 Nov 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 28 Nov 2023)