~ / search / GHSA-p5wg-g6qr-c7cg

GHSA-p5wg-g6qr-c7cg

Withdrawn on 2026-02-03. GitHub withdrew this advisory; it no longer applies.

Withdrawn Advisory: eslint has a Stack Overflow when serializing objects with circular references

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-50537

Packages

EcosystemPackageAffectedFixed in
npm eslint < 9.26.0 9.26.0

Details

As written in the advisory (Markdown source, shown as plain text).

## Withdrawn Advisory This advisory has been withdrawn because RuleTester is used for testing rules during development and results in a error rather than crashing the application. ## Original Description There is a 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

External links from the advisory. They lead to third-party sites.