Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Clever Coding Standards Agreement
JIRA
No JIRA ticket provided (External contribution/Security fix)
Overview
This PR updates the project dependency
xmlbuilder2to version>=4.0in order to mitigate a downstream security vulnerability.Currently,
saml2-jsdepends onxmlbuilder2@^2.4.0. This older version ofxmlbuilder2transitively pulls in[email protected], which contains a known prototype pollution vulnerability (CVE-2025-64718 / GHSA-mh29-5h37-fv8m).By updating
xmlbuilder2to version 4.0 or higher, we ensure that a patched version ofjs-yaml(>=4.1.1) is used, resolving the security risk.Vulnerability Details:
__proto__.Testing
This is a dependency update. Testing should focus on ensuring no regression in XML generation functionality.
saml2-jsfunctionality remains stable with the newxmlbuilder2version.Rollout
xmlbuilder2v4.0 may have API changes compared to v2.4.0, basic usage often remains compatible.Rollback