{"items":[{"id":"NVI-00007834","kind":"vulnerability","title":"SimpleSAMLphp xml-common XXE vulnerability","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-2x65-fpch-2fcm","CVE-2024-52596"],"plain_summary":"OSV carries this publisher advisory for simplesamlphp/xml-common. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.20.0 for simplesamlphp/xml-common. Confirm the publisher’s latest guidance.","source_ids":["sr-ea7c3686ca35a7e37cf849c101907cfd"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-ea7c3686ca35a7e37cf849c101907cfd","url":"https://github.com/advisories/GHSA-2x65-fpch-2fcm","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-2x65-fpch-2fcm","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.646Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-ea7c3686ca35a7e37cf849c101907cfd"],"technology":"simplesamlphp/xml-common","known_exclusions":[],"conditions_summary":"Summary\n\nWhen loading an (untrusted) XML document, for example the SAMLResponse, it's possible to induce an XXE.\n\n$options is defined as: https://github.com/simplesamlphp/xml-common/blob/v1.19.0/src/DOMDocumentFactory.php#L39\nincluding the DTDLoad option, which allows an attacker to read file contents from local file system OR internal network.\n\nWhile there is the NONET option, an attacker can simply bypass if by using PHP filters:\nphp://filter/convert.base64-encode/resource=http://URL OR FILE\n\nFrom there an attacker can induce network connections and steal the targeted file OOB (haven't fully tested this).\n\nRCE may be possible with the php://expect or php://phar wrappers, but this hasn't been tested.\n\nNote:\nThe mitigation here:\nhttps://github.com/simplesamlphp/xml-common/blob/v1.19.0/src/DOMDocumentFactory.php#L58\nComes too late, as the XML has already been loaded into a document.\nMitigation:\n\nRemove the LIBXML_DTDLOAD | LIBXML_DTDATTR options.\nAdditionally, as a defense in depth measure, check if there is the string: <!DOCTYPE inside the XML before parsing it. (This is not a complete fix because someone may be able to exploit some parser differentials, to load a DOCTYPE, maybe th","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.20.0"]}],"null_published_at":"2026-10-31T22:13:18.637Z","source_updated_at":"2024-12-12T22:26:04.089Z","source_disclosed_at":"2024-12-02T17:14:30.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:49.646Z"}],"next_cursor":null,"snapshot_revision":"42594"}