Is ua-parser-js 2.0 vulnerable?

npm · 11 releases from 2.0.0 to 2.0.10 · latest ua-parser-js is 2.0.10 · checked 2 Nov 2026

No known advisories in the last release

ua-parser-js 2.0.10, the last 2.0 release, has no known advisories. 1 advisory affects earlier 2.0.x releases, so update to 2.0.10.

Update within 2.0:npm install ua-parser-js@2.0.10

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 2.0.x, affecting earlier releases

  • MediumCVE-2026-48125GHSA-9h5v-pfqq-x59915 Jun 2026

    UAParser.js: Unbounded `Sec-CH-UA-Model` parsing can trigger ReDoS in `withClientHints()`

    Affected
    >=2.0.1 <2.0.10
    Fixed in
    2.0.10

Which of your client projects are still on ua-parser-js 2.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact ua-parser-js version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other ua-parser-js versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.