XML Signature Spoofing The advisory has been revoked - it doesn't affect any version of package xml-security:xmlsec  (opens in a new tab)


Threat Intelligence

EPSS
5.93% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about XML Signature Spoofing vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-XMLSECURITY-30184
  • published25 Dec 2016
  • disclosed20 Aug 2013
  • creditJames Forshaw

Introduced: 20 Aug 2013

CVE-2013-2172  (opens in a new tab)
CWE-310  (opens in a new tab)

Overview

The class DOMCanonicalizationMethod within jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java allows context-dependent attackers to spoof an XML Signature by using the CanonicalizationMethod parameter to specify an arbitrary weak "canonicalization algorithm to apply to the SignedInfo part of the Signature."