npm package report

Is @babel/runtime-corejs2 safe?

1 known vulnerability, worst severity MODERATE.

cvss
6.2

how bad it is if exploited, out of 10

epss
0.60%

chance of exploitation in the next 30 days

xyz score
not scored

CyberXYZ composite, out of 10

fig. 01 — GHSA-968p-4wvh-cqc8, the advisory selected below

// advisories

GHSA-968p-4wvh-cqc8

MODERATECVE-2025-27789

When using Babel to compile [regular expression named capturing groups](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regularexpressions/Namedcapturinggroup), Babel will generate a polyfill for the .replace method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to .replace).

Affected
>= 8.0.0-alpha.0, < 8.0.0-alpha.16, < 7.26.10
Fixed in
8.0.0-alpha.17
Weakness
CWE-1333
Published
2025-03-11
Source
github

GHSANVDMITREreferencereferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 02:50 UTC. The most recent advisory here was published 2025-03-11. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is @babel/runtime-corejs2 safe? npm package security report | CyberXYZ