fix(deps): update @aws-sdk/client-s3 to fix CVE-2026-25896#17046
Merged
fix(deps): update @aws-sdk/client-s3 to fix CVE-2026-25896#17046
Conversation
Updates @aws-sdk/client-s3 from ^3.837.0 to ^3.1012.0 to resolve critical vulnerability in transitive dependency fast-xml-parser. CVE-2026-25896 (CVSS 9.3): Entity encoding bypass via regex injection in DOCTYPE entity names allows XSS when parsed XML output is rendered. Fixes: https://github.com/getsentry/sentry-docs/security/dependabot/258
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
sergical
approved these changes
Mar 19, 2026
constantinius
pushed a commit
that referenced
this pull request
Mar 20, 2026
## DESCRIBE YOUR PR Updates `@aws-sdk/client-s3` from `^3.837.0` to `^3.1012.0` to resolve a critical security vulnerability in the transitive dependency `fast-xml-parser`. ### Vulnerability Details | Field | Value | |-------|-------| | **CVE** | [CVE-2026-25896](https://nvd.nist.gov/vuln/detail/CVE-2026-25896) | | **GHSA** | [GHSA-m7jm-9gc2-mpf2](GHSA-m7jm-9gc2-mpf2) | | **Severity** | **CRITICAL** (CVSS 9.3) | | **CWE** | CWE-185 (Incorrect Regular Expression) | | **Vulnerable** | `fast-xml-parser >= 5.0.0, < 5.3.5` | | **Fixed in** | `fast-xml-parser 5.3.5+` | ### Summary A period (`.`) in a DOCTYPE entity name is treated as a regex wildcard during entity replacement, allowing attackers to shadow built-in XML entities (`<`, `>`, `&`, etc.) with arbitrary values. This bypasses entity encoding and leads to XSS when parsed output is rendered. ### Changes - Updated `@aws-sdk/client-s3` to latest (`3.1012.0`) - This pulls in `@aws-sdk/xml-builder` which uses `fast-xml-parser@5.5.6` (patched) ### Verification ``` $ pnpm why fast-xml-parser fast-xml-parser@5.3.6 ← from @google-cloud/storage (already patched) fast-xml-parser@5.5.6 ← from @aws-sdk (now patched) ``` All tests pass (149/149). Fixes https://github.com/getsentry/sentry-docs/security/dependabot/258 ## IS YOUR CHANGE URGENT? - [x] Urgent deadline (GA date, etc.): Security vulnerability fix - [ ] Other deadline: - [ ] None: Not urgent, can wait up to 1 week+ ## PRE-MERGE CHECKLIST - [x] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) Co-authored-by: Shannon Anahata <shannonanahata@gmail.com>
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.
DESCRIBE YOUR PR
Updates
@aws-sdk/client-s3from^3.837.0to^3.1012.0to resolve a critical security vulnerability in the transitive dependencyfast-xml-parser.Vulnerability Details
fast-xml-parser >= 5.0.0, < 5.3.5fast-xml-parser 5.3.5+Summary
A period (
.) in a DOCTYPE entity name is treated as a regex wildcard during entity replacement, allowing attackers to shadow built-in XML entities (<,>,&, etc.) with arbitrary values. This bypasses entity encoding and leads to XSS when parsed output is rendered.Changes
@aws-sdk/client-s3to latest (3.1012.0)@aws-sdk/xml-builderwhich usesfast-xml-parser@5.5.6(patched)Verification
All tests pass (149/149).
Fixes https://github.com/getsentry/sentry-docs/security/dependabot/258
IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST