Skip to content

[email protected] is flagged by npm audit (GHSA-474x-hrwr-fgx4) #868

Open

Description

@dereuromark

Describe the bug 📝

@thatopen/components pins fast-xml-parser to exactly 5.7.2, and the latest release (3.6.0) still does. That version is in the affected range of GHSA-474x-hrwr-fgx4, so npm audit flags @thatopen/components and @thatopen/components-front in every project that uses them.

  • Advisory: GHSA-474x-hrwr-fgx4
  • Severity: low
  • Affected range: <=5.11.2
  • First patched version: 5.12.0

The bug only triggers with the non-default stopNodes option. None of the three parsers in @thatopen/components (XML, BCFTopics, IDSSpecifications) set it, so I don't think the library is exploitable. This is about the audit noise. Because of the exact pin, consumers can't move to the fixed version without an overrides entry, and npm audit fix --force suggests downgrading to @thatopen/[email protected].

Could you bump the dependency to ^5.12.1 (or 5.12.1), as in #723 and #734?

Reproduction ▶️

Any project that depends on @thatopen/[email protected].

Steps to reproduce 🔢

  1. npm install @thatopen/[email protected]
  2. npm audit

System Info 💻

Node 22.22.2, npm 10.9.7, @thatopen/components 3.4.9 (3.6.0 pins the same version)

Used Package Manager 📦

npm

Error Trace/Logs 📃

fast-xml-parser  <=5.11.2
fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags - https://github.com/advisories/GHSA-474x-hrwr-fgx4
fix available via `npm audit fix --force`
Will install @thatopen/[email protected], which is a breaking change
node_modules/fast-xml-parser
  @thatopen/components  >=2.2.0-alpha.0
  Depends on vulnerable versions of fast-xml-parser
  node_modules/@thatopen/components
    @thatopen/components-front  >=2.2.0
    Depends on vulnerable versions of @thatopen/components
    node_modules/@thatopen/components-front

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug.
  • Make sure this is a repository issue and not a framework-specific issue.
  • Check that this is a concrete bug.
  • The provided reproduction is a minimal reproducible example of the bug.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions