Skip to content

Range error vulnerability in fast-xml-parser dependency: CVE-2026-25128 #14703

@thepeted

Description

@thepeted

Before opening, please confirm:

JavaScript Framework

React

Amplify APIs

Not applicable

Amplify Version

v6

Amplify Categories

auth, Not applicable

Backend

None

Environment information

Details

{
... 
"aws-amplify": "6.16.0" 
...
}

Describe the bug

aws-amplify package currently depends on versions of fast-xml-parser that have a security vulnerability https://nvd.nist.gov/vuln/detail/CVE-2026-25128.

aws-amplify:6.16.0
 └ @aws-amplify/storage:6.12.0
 └ fast-xml-parser:4.5.1
aws-amplify:6.16.0
 └ @aws-amplify/storage:6.12.0
 └ fast-xml-parser:4.5.1

Expected behavior

aws-amplify package should not depend on vulnerable versions of fast-xml-parser in range >=4.3.6 <=5.3.3 and should be updated to patched versions >=5.3.4

Reproduction steps

  1. install eg: npm i aws-amplify@6
  2. run npm audit

Code Snippet

// Put your code below this line.

Log output

Details
// Put your logs below this line


aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

────────────────────┬────────────────────────────────────────────────────────┐
│ high                │ fast-xml-parser has RangeError DoS Numeric Entities    │
│                     │ Bug                                                    │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ fast-xml-parser                                        │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=4.3.6 <=5.3.3                                        │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=5.3.4                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__consumer>aws-amplify>@aws-amplify/               │
│                     │ analytics>@aws-sdk/client-firehose>@aws-sdk/core>fast- │
│                     │ xml-parser                                             │
│                     │                                                        │
│                     │ apps__consumer>aws-amplify>@aws-amplify/storage>fast-  │
│                     │ xml-parser                                             │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-37qj-frw5-hhjh      │
└─────────────────────┴────────────────────────────────────────────────────────┘

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions