Skip to content

Bump samlify from 2.12.0 to 2.13.1#1028

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/samlify-2.13.1
Open

Bump samlify from 2.12.0 to 2.13.1#1028
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/samlify-2.13.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 21, 2026

Bumps samlify from 2.12.0 to 2.13.1.

Release notes

Sourced from samlify's releases.

v2.13.1

Patch release. Fixes the TypeScript regression reported in #626, and retroactively documents a breaking change that shipped in 2.13.0 but was not called out in its release notes (per the discussion in #626).

🐛 Fixed

  • Restore Express request type compatibility (#626, #627). 2.13.0 (commit 3d5788a) tightened ESamlHttpRequest.query / .body from any to Record<string, string | undefined>. That type is not structurally assignable from an Express Request (req.query is qs.ParsedQs, whose values may be string[] or nested objects), so TypeScript callers passing req (or req.query) into parseLoginRequest / parseLoginResponse / parseLogoutRequest / parseLogoutResponse failed to compile (TS2345 / TS2322). The fields are now Record<string, unknown> — backward compatible with the pre-2.13 typing and every web framework's request object, still stricter than any. Runtime behaviour was never affected. A type-checked regression guard was added so this cannot silently recur.

⚠️ Breaking change — shipped in 2.13.0 (PR #613, commit fee4ff1), documented here

This was an intended security fix in the 2026-04 audit but was only noted in the commit message, not the 2.13.0 release notes:

  • libsaml.constructMessageSignature(...) no longer defaults to RSA-SHA1. Callers omitting the signingAlgorithm argument now get RSA-SHA256.
  • Unknown signature-algorithm URIs now throw ERR_UNSUPPORTED_SIGNATURE_ALGORITHM instead of silently downgrading to SHA-1. This closes a verification-downgrade vector reachable via the user-controlled SigAlg query parameter.

Migration: if SHA-1 is required for an interop reason, pass signatureAlgorithms.RSA_SHA1 explicitly. Unknown/malformed algorithm URIs are now rejected by design.

🔒 Security behaviour note (also from PR #613 / 2.13.0)

setDOMParserOptions(options) now merges the XXE-safe baseline (errorHandler) instead of replacing it — passing {} or partial options no longer silently disables XXE protection. Callers may still override it explicitly.

What's Changed

Full Changelog: tngan/samlify@v2.13.0...v2.13.1

v2.13.0

What's Changed

... (truncated)

Commits
  • b1ff880 chore: bump version to 2.13.1
  • 2370020 fix: restore Express request type compatibility in ESamlHttpRequest (closes #...
  • 3230b2b chore: bump version to 2.13.0
  • b37a65c fix: escape XML element text in replaceTagsByValue to prevent SAML attribute ...
  • 0235cab feat: per-request AssertionConsumerServiceIndex for createLoginRequest (close...
  • a3910b1 feat: support RSASSA-PSS signature algorithms (closes #624) (#625)
  • 8f1cc8b feat: support elementsOrder option on IdP metadata (closes #429) (#622)
  • c393d81 fix: invoke customTagReplacement even without explicit template (closes #549)...
  • ee738cc feat: support tagPrefix.protocol and tagPrefix.assertion on IdP (closes #388)...
  • 1c2b9fa feat: per-request ForceAuthn for createLoginRequest (closes #359) (#618)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [samlify](https://github.com/tngan/samlify) from 2.12.0 to 2.13.1.
- [Release notes](https://github.com/tngan/samlify/releases)
- [Commits](tngan/samlify@v2.12.0...v2.13.1)

---
updated-dependencies:
- dependency-name: samlify
  dependency-version: 2.13.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependency: npm label used by Dependabot for npm related updates label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency: npm label used by Dependabot for npm related updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants