Skip to main content
CVE-2025-50537VulnerabilityPublished

CVE-2025-50537: eslint · n/a

Affects eslintSource CVE Database V5

0

Not known to be exploited · CVSS 5.5 Medium : upgrade to 9.26.0 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 9.26.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade eslint to 9.26.0.

Affected software

ProductAffectedFixed in
npmeslintpkg:npm/eslintOther threatsAffected
  • <9.26.0
Fixed in
  • 9.26.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2025-50537, European organizations should: 1) Upgrade eslint to version 9.26.0 or later, where the serialization issue has been addressed. 2) Audit existing test cases used with RuleTester to identify and refactor or remove any that include circular references, preventing infinite recursion during serialization. 3) Integrate static analysis or linting checks in CI/CD pipelines to detect usage of vulnerable eslint versions and prevent deployment of problematic test cases. 4) Educate development teams about the risks of circular references in test objects and encourage best practices in test case design. 6) If upgrading immediately is not feasible, consider isolating eslint runs in containerized or sandboxed environments to limit the impact of potential crashes. 7) Implement robust error handling in build scripts to gracefully manage eslint failures and avoid cascading pipeline disruptions.

Description

Stack overflow vulnerability in eslint before 9.26.0 when serializing objects with circular references in eslint/lib/shared/serialization.js. The exploit is triggered via the RuleTester.run() method, which validates test cases and checks for duplicates. During validation, the internal function checkDuplicateTestCase() is called, which in turn uses the isSerializable() function for serialization checks. When a circular reference object is passed in, isSerializable() enters infinite recursion, ultimately causing a stack overflow.

References

Community reviews

Loading reviews…