{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-49087","published":"2023-11-30T06:15:47.173000Z","last_modified":"2026-06-17T06:35:20.330000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-345"],"cpes":[{"criteria":"cpe:2.3:a:simplesamlphp:saml2:5.0.0:alpha12:*:*:*:*:*:*","part":"a","vendor":"simplesamlphp","product":"saml2","version":"5.0.0"},{"criteria":"cpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:*","part":"a","vendor":"simplesamlphp","product":"xml-security","version":"1.6.11"}],"cpes_truncated":false,"vendors":["simplesamlphp"],"products":["simplesamlphp/saml2","simplesamlphp/xml-security"],"epss":{"score":0.00218,"percentile":0.07087,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-ww7x-3gxh-qm6r","ecosystem":"Packagist","name":"simplesamlphp/saml2","purl":"pkg:composer/simplesamlphp/saml2","ranges":[{"introduced":"5.0.0-alpha.12","fixed":"5.0.0-alpha.13"}],"versions":["5.0.0-alpha.12"],"versions_truncated":false},{"advisory":"GHSA-ww7x-3gxh-qm6r","ecosystem":"Packagist","name":"simplesamlphp/xml-security","purl":"pkg:composer/simplesamlphp/xml-security","ranges":[{"introduced":"1.6.11","fixed":"1.6.12"}],"versions":["1.6.11","v1.6.11"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2023-49087/","html_en":"/en/cve/CVE-2023-49087/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-49087","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-49087"},"untrusted":{"vendor_name":"Simplesamlphp","product_name":"Saml2","desc_en":"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.","affected":[{"untrusted_vendor":"simplesamlphp","untrusted_product":"xml-security","versions":[]}],"references":[{"url":"https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581","tags":["Patch"]},{"url":"https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r","tags":["Exploit","Vendor Advisory"]}]}}