fix(deps): update dependency samlify to v2.13.0 [security]#8846
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency samlify to v2.13.0 [security]#8846renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
COMPARE TO
|
| Name | Diff |
|---|---|
| packages/connectors/connector-saml/package.json | 0 Bytes |
| packages/core/package.json | 0 Bytes |
| pnpm-lock.yaml | 📉 -4 Bytes |
defa09d to
a4f64d6
Compare
a4f64d6 to
1c2cfdb
Compare
1c2cfdb to
0d7e6e6
Compare
0d7e6e6 to
6a31062
Compare
6a31062 to
01045db
Compare
01045db to
f633fd2
Compare
f633fd2 to
b0a18a9
Compare
b0a18a9 to
bfd6873
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
2.10.0→2.13.0samlify: XML Injection in AttributeValue Allows Privilege Escalation in Signed SAML Assertions
CVE-2026-46490 / GHSA-34r5-q4jw-r36m
More information
Details
Summary
samlify’s template substitution only escapes attribute contexts. Values inserted into element text (e.g.,
<saml:AttributeValue>) are not escaped. A normal user can inject XML markup into an attribute value (e.g., email, name) and add new<saml:Attribute>elements inside the signed assertion. The IdP then signs the tampered assertion and the SP accepts the injected attributes as trusted. This allows privilege escalation when attributes are used for authorization (roles/groups).Root Cause
src/libsaml.ts→replaceTagsByValue()only escapes placeholders when preceded by a quote (attribute context). Element text is inserted raw. The attribute builder inserts placeholders into element text:Therefore,
</saml:AttributeValue>…<saml:Attribute …>is accepted and signed.Proof-of-concept
Run:
Impact
A normal user can inject arbitrary attributes (e.g.,
role=admin) into a signed assertion and have them parsed bysp.parseLoginResponse(). This can grant elevated privileges in SPs that trust SAML attributes.Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
tngan/samlify (samlify)
v2.13.0Compare Source
What's Changed
Security Audit
GHSA-34r5-q4jw-r36m (credit to @RootUp)
Full Changelog: tngan/samlify@v2.12.0...v2.13.0
v2.12.0Compare Source
What's Changed
ab87376Full Changelog: tngan/samlify@v2.11.0...v2.12.0
v2.11.0Compare Source
What's Changed
New Contributors
Full Changelog: tngan/samlify@v2.10.2...v2.11.0
v2.10.2Compare Source
What's Changed
New Contributors
Full Changelog: tngan/samlify@v2.10.0...v2.10.2
v2.10.1Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.