{"id":"CVE-2026-9487","aliases":["CVE-2026-9487"],"related":[],"kind":"vulnerability","state":"published","title":"XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID","summary":"XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID.\n\n_get_signed_xml() in lib/XML/Sig.pm, called from verify(), resolves the SignedInfo Reference/@URI to a node with the XPath expression \"//*[@ID='$id']\" and returns the first node of the resulting node set. A document in which two elements share that ID value is accepted: the digest and signature are checked against whichever element comes first in document order, and the duplicate is not detected.\n\nSuch a document verifies successfully while an application that resolves the same ID independently can read the second, attacker supplied element; in a SAML2 context this places the contents of an Assertion under attacker control.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID.\n\n_get_signed_xml() in lib/XML/Sig.pm, called from verify(), resolves the SignedInfo Reference/@URI to a node with the XPath expression \"//*[@ID='$id']\" and returns the first node of the resulting node set. A document in which two elements share that ID value is accepted: the digest and signature are checked against whichever element comes first in document order, and the duplicate is not detected.\n\nSuch a document verifies successfully while an application that resolves the same ID independently can read the second, attacker supplied element; in a SAML2 context this places the contents of an Assertion under attacker control.","source":"cvelist"},{"lang":"es","text":"Las versiones de XML::Sig anteriores a la 0.71 para Perl permiten la envoltura de firma a través de un ID duplicado.\n\n_get_signed_xml() en lib/XML/Sig.pm, llamado desde verify(), resuelve el SignedInfo Reference/@URI a un nodo con la expresión XPath ’//*[@ID=’$id’]’ y devuelve el primer nodo del conjunto de nodos resultante. Se acepta un documento en el que dos elementos comparten ese valor de ID: el resumen y la firma se verifican contra el elemento que aparece primero en el orden del documento, y no se detecta el duplicado.\n\nDicho documento se verifica con éxito mientras que una aplicación que resuelve el mismo ID de forma independiente puede leer el segundo elemento, el suministrado por el atacante; en un contexto SAML2, esto coloca el contenido de una ’Assertion’ bajo el control del atacante.","source":"nvd"}],"published":"2026-08-03T13:14:43.135Z","modified":"2026-10-23T21:10:00.157Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"0.71","status":"affected"}],"vendor":"TIMLEGGE","product":"XML::Sig","package":"XML-Sig","repo":"https://github.com/perl-net-saml2/perl-XML-Sig","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.71"}],"vendor":"xml::sig_project","product":"xml::sig","cpe":"cpe:2.3:a:xml\\:\\:sig_project:xml\\:\\:sig:*:*:*:*:*:perl:*:*","source":"nvd"}],"references":[{"url":"https://github.com/perl-net-saml2/perl-XML-Sig/commit/4976bde5245df69b8e02c6ae061acbd4891cd7f9.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/TIMLEGGE/XML-Sig-0.71/source/Changes","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-08-03T19:59:25.051Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9487","url":"https://www.cve.org/CVERecord?id=CVE-2026-9487","licence":"CVE Terms of Use","modified":"2026-08-03T19:59:47.580Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9487","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9487","licence":"Public domain","modified":"2026-10-23T21:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:30.874Z","epss":{"score":0.00167,"percentile":0.06242,"date":"2026-12-01T12:00:22.000Z"}}