{"id":"CVE-2023-49087","summary":"Validation of SignedInfo","details":"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.","aliases":["GHSA-ww7x-3gxh-qm6r"],"modified":"2026-08-12T03:51:32.128210141Z","published":"2023-11-30T05:20:28.298Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"= 5.0.0-alpha.12"},{"last_affected":"= 5.0.0-alpha.12"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-345"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49087.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49087.json"},{"type":"ADVISORY","url":"https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49087"},{"type":"FIX","url":"https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/simplesamlphp/xml-security","events":[{"introduced":"f9029fcbcca731136dab58c687e3a55b68c962ce"},{"fixed":"f509e3083dd7870cce5880c804b5122317287581"}],"database_specific":{"extracted_events":[{"introduced":"1.6.11"},{"last_affected":"1.6.11"}],"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:*"}}],"versions":["1.6.11","= 1.6.11","v1.6.11"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49087.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"}]}