Commit 3b9e5ad
authored
Upstream advisory GHSA-gh4j-gqv2-49f6 (CWE-91, XML Injection): the
XMLBuilder in fast-xml-parser < 5.7.0 fails to escape XML comment and
CDATA section delimiters, allowing a caller to inject `-->` or
`]]>` into untrusted input and break out of a comment/CDATA context
when serializing. Severity: MODERATE.
fast-xml-parser is a transitive dev dependency reaching us via
@aws-sdk/xml-builder (devDep of @aws-sdk/client-bedrock-runtime),
which pinned it at exact 5.5.8. Added an `overrides` entry pinning
fast-xml-parser to ^5.7.0; npm now resolves it to 5.7.2 across the
tree.
- npm audit: 0 vulnerabilities
- npm test: 884 passing (28 suites), 0 failures
Refs: https://github.com/getaxonflow/axonflow-sdk-typescript/security/dependabot/30
Advisory: GHSA-gh4j-gqv2-49f6
1 parent 35c7a68 commit 3b9e5ad
2 files changed
Lines changed: 32 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
0 commit comments