Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/%40node-saml/node-saml@4.0.5
purl pkg:npm/%40node-saml/node-saml@4.0.5
Vulnerabilities affecting this package (0)
Vulnerability Summary Fixed by
This package is not known to be affected by vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-qgbf-27wf-fydp @node-saml/node-saml's validatePostRequestAsync does not include checkTimestampsValidityError ### Summary 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. ### Details It was noticed that in the validatePostRequestAsync() flow in saml.js, the current timestamp is never checked. This could present a vulnerability where a user who has an XML LogoutRequest could validated it if the IssueInstance and the NotOnOrAfter are valid along with valid credentials (signature, certificate etc.). ### PoC I was able to validate a sample valid LogoutRequest XML multiple times through postman by sending it to my endpoint regardless if the current present time was past the NotOnOrAfter time. After some further testing, it seems that only the IssueInstance is checked against NotOnOrAfter. Not sure if this was the intended behaviour but I believe having a never expiring valid LogoutRequest could be dangerous. ### Impact 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. CVE-2023-40178
GHSA-vx8m-6fhw-pccw

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-02T04:45:37.205240+00:00 GitLab Importer Fixing VCID-qgbf-27wf-fydp https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@node-saml/node-saml/CVE-2023-40178.yml 38.6.0