Skip to content

[SECURITY] Update dependency fast-xml-parser to v5.3.8#296

Open
specmatic-builder wants to merge 1 commit intomasterfrom
renovate/npm-fast-xml-parser-vulnerability
Open

[SECURITY] Update dependency fast-xml-parser to v5.3.8#296
specmatic-builder wants to merge 1 commit intomasterfrom
renovate/npm-fast-xml-parser-vulnerability

Conversation

@specmatic-builder
Copy link
Contributor

@specmatic-builder specmatic-builder commented Feb 28, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fast-xml-parser 5.3.65.3.8 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2026-27942

Impact

Application crashes with stack overflow when user use XML builder with prserveOrder:true for following or similar input:

[{
    'foo': [
        { 'bar': [{ '@​_V': 'baz' }] }
    ]
}]

Cause: arrToStr was not validating if the input is an array or a string and treating all non-array values as text content.
What kind of vulnerability is it? Who is impacted?

Patches

Yes, in 5.3.8 and 4.5.4.

Workarounds

Use XML builder with preserveOrder:false or check the input data before passing to builder.


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

CVE-2026-27942 / GHSA-fj3w-jwp8-x2g3

More information

Details

Impact

Application crashes with stack overflow when user use XML builder with prserveOrder:true for following or similar input:

[{
    'foo': [
        { 'bar': [{ '@​_V': 'baz' }] }
    ]
}]

Cause: arrToStr was not validating if the input is an array or a string and treating all non-array values as text content.
What kind of vulnerability is it? Who is impacted?

Patches

Yes, in 5.3.8 and 4.5.4.

Workarounds

Use XML builder with preserveOrder:false or check the input data before passing to builder.

Severity

  • CVSS Score: 2.7 / 10 (Low)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

NaturalIntelligence/fast-xml-parser (fast-xml-parser)

v5.3.8: handle non-array input for XML builder && support maxNestedTags

Compare Source

v5.3.7: CJS typing fix

Compare Source

What's Changed

New Contributors

Full Changelog: NaturalIntelligence/fast-xml-parser@v5.3.6...v5.3.7


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. Specmatic specific configuration is managed here.

@specmatic-builder specmatic-builder force-pushed the renovate/npm-fast-xml-parser-vulnerability branch 2 times, most recently from 7b24f08 to 6a507a6 Compare March 3, 2026 00:49
@specmatic-builder specmatic-builder force-pushed the renovate/npm-fast-xml-parser-vulnerability branch from 6a507a6 to 057a5d9 Compare March 5, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant