fix(deps): bump fast-xml-parser to 5.5.6 for GHSA-8gc5-j5rx-235r by czubocha · Pull Request #13412 · serverless/serverless · GitHub
Skip to content

fix(deps): bump fast-xml-parser to 5.5.6 for GHSA-8gc5-j5rx-235r#13412

Merged
czubocha merged 1 commit intomainfrom
fix/fast-xml-parser-cve-2026-26278
Mar 19, 2026
Merged

fix(deps): bump fast-xml-parser to 5.5.6 for GHSA-8gc5-j5rx-235r#13412
czubocha merged 1 commit intomainfrom
fix/fast-xml-parser-cve-2026-26278

Conversation

@czubocha
Copy link
Copy Markdown
Contributor

@czubocha czubocha commented Mar 18, 2026

Summary

  • Update @aws-sdk/xml-builder from 3.972.9 to 3.972.13 across 13 lockfiles, which upgrades fast-xml-parser from 5.4.1 to 5.5.6
  • Resolves GHSA-8gc5-j5rx-235r (numeric entity expansion bypassing all entity expansion limits, incomplete fix for CVE-2026-26278)

Root cause

@aws-sdk/xml-builder pinned fast-xml-parser to exactly 5.4.1, which is vulnerable to numeric entity expansion DoS (all versions through 5.5.5 are affected). AWS published @aws-sdk/xml-builder@3.972.13 which bumps to fast-xml-parser@5.5.6 and also sets processEntities: { maxTotalExpansions: Infinity } to prevent the new expansion limit from breaking legitimate AWS XML responses.

Test plan

  • npm install succeeds cleanly
  • npm audit no longer reports fast-xml-parser vulnerabilities
  • All 13 lockfiles resolve to @aws-sdk/xml-builder@3.972.13 + fast-xml-parser@5.5.6
  • Smoke-tested fast-xml-parser@5.5.6 with the @aws-sdk/xml-builder@3.972.13 parser config (300 CloudFormation events, 1500+ entity expansions) — no Entity expansion limit exceeded error
  • Only package-lock.json files changed — no package.json modifications

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 18, 2026

@Mmarzex
Copy link
Copy Markdown
Contributor

Mmarzex commented Mar 18, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@czubocha czubocha force-pushed the fix/fast-xml-parser-cve-2026-26278 branch from b4ecfd0 to 14d6667 Compare March 19, 2026 08:50
@czubocha czubocha merged commit 01d3c64 into main Mar 19, 2026
9 checks passed
@czubocha czubocha deleted the fix/fast-xml-parser-cve-2026-26278 branch March 19, 2026 11:19
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants