Skip to content

fast-xml-parser has stack overflow in XMLBuilder with preserveOrder #14745

@akhilrangu919

Description

@akhilrangu919

Before creating a new issue, please confirm:

On which framework/platform are you having an issue?

React

Which UI component?

Other

How is your app built?

Vite

What browsers are you seeing the problem on?

No response

Which region are you seeing the problem in?

No response

Please describe your bug.

aws-amplify package depends on versions of fast-xml-parser that have a security vulnerability. "fast-xml-parser": "5.3.6",
fast-xml-parser <5.3.8, GHSA-fj3w-jwp8-x2g3

Using aws-amplify v6.10.2 and also the latest v6.16.2 has the vulnerabilities related to fast-xml-parser <5.3.8

What's the expected behaviour?

aws-amplify package should not depend on vulnerable versions of fast-xml-parser

Help us reproduce the bug!

install eg: npm i aws-amplify
run npm audit

Code Snippet

// Put your code below this line.

Console log output

No response

Additional information and screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions