A malicious SAML payload can require transforms that consume significant system resources to process, thereby resulting in reduced or denied service. This would be an effective way to perform a denial-of-service attack.
This has been resolved in version 3.1.0. The resolution is to limit the number of allowable transforms to 2.
https://github.com/node-saml/passport-saml/pull/595
{ "nvd_published_at": "2021-08-27T22:15:00Z", "cwe_ids": [ "CWE-400" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2021-08-27T23:25:28Z" }