Read the docs
TI-2020-20026 Aliases GHSA-c27r-x354-4m68

xml-crypto's HMAC-SHA1 signatures can bypass validation via key confusion

Priority LOW 38CWE-287Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Security bypass
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-287.

Summary

### Impact An attacker can inject an HMAC-SHA1 signature that is valid using only knowledge of the RSA public key. This allows bypassing signature validation. ### Patches Version 2.0.0 has the fix. ### Workarounds The recommendation is to upgrade. In case that is not possible remove the 'http://www.w3.org/2000/09/xmldsig#hmac-sha1' entry from SignedXml.SignatureAlgorithms.

Why it matters now

Fix Fixed xml-crypto (npm): 2.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—xml-crypto (npm)before 2.0.02.0.0Patch availableGHSA-c27r-x354-4m68
  • xml-crypto (npm) Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available GHSA-c27r-x354-4m68

Remediation

  • Fix · GHSA-c27r-x354-4m68 xml-crypto (npm) Fixed in 2.0.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-c27r-x354-4m68

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences