Vulnerability in Openjsf Eslint
CVE-2025-50537
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.002 (8.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 8th percentile — 8.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
Weakness classification (CWE)
References
- github.com/eslint/eslint/issues/19646 (Exploit, Third Party Advisory, Issue Tracking)
- gist.github.com/lyyffee/2ee1815e5c2da82c05e9838b9bfefbbc (Third Party Advisory)
Frequently asked questions
- What is CVE-2025-50537?
- CVE-2025-50537 is a medium-severity vulnerability in Openjsf Eslint, classified under Uncontrolled Recursion. CVSS score: 5.5/10. Published 2026-01-26.
- How severe is CVE-2025-50537?
- Medium severity. CVSS v3 base score is 5.5 out of 10.