CVE-2023-40178
MEDIUM 5.3CVSS 3.1@node-saml/node-saml's validatePostRequestAsync does not include checkTimestampsValidityError
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.
- Published
- 23 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-347CWE-613
- Also known as
- GHSA-vx8m-6fhw-pccw
- Sources
- NVDJSONOSV GHSA-vx8m-6fhw-pccwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node_saml_project | node_samlcpe:2.3:a:node_saml_project:node_saml:*:*:*:*:*:node.js:*:* |
< 4.0.5 | 4.0.5 |
| OSV | npm | @node-saml/node-saml | < 4.0.5 | 4.0.5 |
References
- 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://github.com/node-saml/node-saml/security/advisories/GHSA-vx8m-6fhw-pccw · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-40178 · ADVISORY
- https://github.com/node-saml/node-saml · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 23 Aug 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Aug 2023)