PT-2025-23537 · Signxml · Signxml

Ahacker1-Securesaml

·

Published

2025-06-02

·

Updated

2025-06-05

·

CVE-2025-48994

CVSS v4.0

6.9

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions SignXML versions prior to 4.0.4
Description The issue concerns a potential algorithm confusion attack when verifying signatures with X509 certificate validation turned off and HMAC shared secret set. This could allow an attacker to supply a signature unexpectedly signed with a key other than the provided HMAC key, using a different signature algorithm, unless the user explicitly limits the expected signature algorithms.
Recommendations For versions prior to 4.0.4, consider explicitly limiting the expected signature algorithms using the signxml.XMLVerifier.verify(expect config=...) setting to prevent algorithm confusion attacks. As a temporary workaround, consider restricting the set of accepted signature algorithms to HMAC only, if possible, until a patch is available. Update to SignXML version 4.0.4 or later, as it restricts the set of accepted signature algorithms to HMAC only when hmac key is specified.

Exploit

Fix

Weakness Enumeration

Related Identifiers

CVE-2025-48994
GHSA-6VX8-PCWV-XHF4

Affected Products

Signxml