{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-49087","id":"CVE-2023-49087","title":"Validation of SignedInfo","description":"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 exploiti","descriptionLong":"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":"2023-11-30T05:20:28.298Z","updated":"2026-10-28T02:30:26.457279962Z","reserved":"2023-11-21T18:57:30.429Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"medium","products":["simplesamlphp xml-security"],"affectedProducts":[{"vendor":"simplesamlphp","product":"xml-security","defaultStatus":null,"versions":[{"version":"= 1.6.11","status":"affected"},{"version":"= 5.0.0-alpha.12","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"simplesamlphp/xml-security","purl":"pkg:composer/simplesamlphp/xml-security","ranges":[">=1.6.11 <1.6.12"],"fixed":["1.6.12"],"advisory":"GHSA-ww7x-3gxh-qm6r"},{"ecosystem":"Packagist","name":"simplesamlphp/saml2","purl":"pkg:composer/simplesamlphp/saml2","ranges":[">=5.0.0-alpha.12 <5.0.0-alpha.13"],"fixed":["5.0.0-alpha.13"],"advisory":"GHSA-ww7x-3gxh-qm6r"}],"cwes":["CWE-345"],"aliases":["GHSA-ww7x-3gxh-qm6r"],"references":[{"url":"https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49087.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49087","tags":["advisory"]},{"url":"https://github.com/simplesamlphp/xml-security","tags":["package"]},{"url":"https://github.com/simplesamlphp/xml-security/blob/master/src/XML/SignedElementTrait.php","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00193,"epssPercentile":0.09026,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-49087","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49087","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-49087","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-ww7x-3gxh-qm6r","ok":true,"note":"GHSA-ww7x-3gxh-qm6r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-49087","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}