# CVE-2025-54419: Node-SAML Contains SAML Signature Verification Vulnerability

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-07-28T19:47:46.584Z
- Modified: 2026-06-17T09:40:04.253Z
- Also known as: GHSA-4mxg-3p6v-xgq3
- Weaknesses: CWE-287, CWE-347
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

A SAML library not dependent on any frameworks that runs in Node. In version 5.0.1, Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature. This allows an attacker to modify authentication details within a valid SAML assertion. For example, in one attack it is possible to remove any character from the SAML assertion username. To conduct the attack an attacker would need a validly signed document from the identity provider (IdP). This is fixed in version 5.1.0.

(As written by CVE List.)

## Affected

- node-saml node-saml: = 5.0.1
- @node-saml/node-saml (npm): before 5.1.0
- passport-saml (npm): up to 3.2.4
- @node-saml/passport-saml (npm): before 5.1.0

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`

## References

- <https://github.com/node-saml/node-saml/security/advisories/GHSA-4mxg-3p6v-xgq3> (web)
- <https://github.com/node-saml/node-saml/commit/31ead9411ebc3e2385086fa9149b6c17732bca10> (web)
- <https://github.com/node-saml/node-saml/releases/tag/v5.1.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54419> (advisory)
- <https://github.com/node-saml/node-saml> (package)

## Sources

- CVE List: [CVE-2025-54419](https://www.cve.org/CVERecord?id=CVE-2025-54419), CVE Terms of Use, modified 2025-07-28
- GitHub Advisory Database: [GHSA-4mxg-3p6v-xgq3](https://github.com/advisories/GHSA-4mxg-3p6v-xgq3), CC-BY-4.0, modified 2025-08-08
- NVD: [CVE-2025-54419](https://nvd.nist.gov/vuln/detail/CVE-2025-54419), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54419 · Whole record: https://cve.day/CVE-2025-54419.json · Rebuilt by cve.day 2026-11-25T22:59:01.828Z
