chore(deps): bump fast-xml-parser to patch XMLBuilder injection vulnerability#13521
Conversation
…rability Patches GHSA-gh4j-gqv2-49f6 (moderate) by bumping fast-xml-parser from 5.5.8 to 5.7.1 in the root lockfile and in 12 bedrock-agentcore JavaScript example lockfiles. Also bumps the @aws-sdk/xml-builder parent (3.972.x to 3.972.19) and @smithy/types (4.13.1 to 4.14.1) to satisfy the new fast-xml-parser pin. All semver-compatible with existing ranges.
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (13)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Summary
Patches GHSA-gh4j-gqv2-49f6 (moderate, CVSS 6.1) —
fast-xml-parserXMLBuilderis vulnerable to XML comment and CDATA injection via unescaped delimiters in versions<5.7.0.The vulnerable package is pulled in transitively via
@aws-sdk/xml-builder. Fix is applied to the root lockfile and to 12bedrock-agentcoreJavaScript example lockfiles.Changes
Lockfile-only patches (no
package.jsonchanges, no Node engine bumps):@aws-sdk/xml-builder:3.972.x→3.972.19@smithy/types:4.13.1→4.14.1fast-xml-parser:5.5.8→5.7.1(pinned by@aws-sdk/xml-builder@3.972.19)fast-xml-builder:1.1.4→1.1.5path-expression-matcher:1.x→1.5.0strnum:2.2.x→2.2.3@nodable/entities@2.1.0All bumps are semver-compatible with existing dependency ranges. Versions chosen comply with the project's
min-release-age=3policy.Affected lockfiles
package-lock.json(root)packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/:langgraph-basic, langgraph-basic-dockerfile, langgraph-browser, langgraph-browser-custom, langgraph-code-interpreter, langgraph-code-interpreter-custom, langgraph-comprehensive, langgraph-gateway, langgraph-memory, langgraph-multi-gateway, langgraph-streaming, strands-browser
Test plan
npm cisucceeds for the root package and every patched examplenpm audit signaturescryptographically verifies versions and integrity hashes against the npm registry for every entrynpm auditreports zerofast-xml-parserreferences across the root and all examplespackage.jsonmodifications and no Node engine changes