# CVE-2023-40178: @node-saml/node-saml's validatePostRequestAsync does not include checkTimestampsValidityError

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2023-08-21T20:13:05.000Z
- Modified: 2026-09-10T03:49:57.758Z
- Also known as: GHSA-vx8m-6fhw-pccw
- Weaknesses: CWE-347, CWE-613
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Node-SAML is a SAML library not dependent on any frameworks that runs in Node. The lack of checking of current timestamp allows a LogoutRequest XML to be reused multiple times even when the current time is past the NotOnOrAfter. This could impact the user where they would be logged out from an expired LogoutRequest. In bigger contexts, if LogoutRequests are sent out in mass to different SPs, this could impact many users on a large scale. This issue was patched in version 4.0.5.

(As written by CVE List.)

## Affected

- node-saml node-saml: < 4.0.5; before 4.0.5
- @node-saml/node-saml (npm): before 4.0.5
- node_saml_project node_saml: before 4.0.5

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/node-saml/node-saml/security/advisories/GHSA-vx8m-6fhw-pccw> (vendor-advisory, web)
- <https://github.com/node-saml/node-saml/commit/045e3b9c54211fdb95f96edf363679845b195cec> (patch, web)
- <https://github.com/node-saml/node-saml/releases/tag/v4.0.5> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-40178> (advisory)
- <https://github.com/node-saml/node-saml> (package)

## Sources

- CVE List: [CVE-2023-40178](https://www.cve.org/CVERecord?id=CVE-2023-40178), CVE Terms of Use, modified 2024-10-02
- GitHub Advisory Database: [GHSA-vx8m-6fhw-pccw](https://github.com/advisories/GHSA-vx8m-6fhw-pccw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-40178](https://nvd.nist.gov/vuln/detail/CVE-2023-40178), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-40178 · Whole record: https://cve.day/CVE-2023-40178.json · Rebuilt by cve.day 2026-11-25T22:58:27.321Z
