# GHSA-qcr8-x557-7cp3: @asymmetric-effort/specifyjs: Production console warnings may leak internal framework state

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-02T19:03:10.000Z
- Modified: 2026-09-10T03:51:11.798Z
- Weaknesses: CWE-209

## Description

## Finding

**Location**: `core/src/core/scheduler.ts:23`, `core/src/hooks/dispatcher.ts:100`, `core/src/client/graphql.ts:71`

Several `console.warn` calls are not gated behind `__DEV__` and will fire in production builds, potentially exposing internal framework state such as queue sizes, component names, and query fragments to users viewing the browser console.

## Status

**Open** — These warnings serve as development-time diagnostics. They do not expose credentials or PII, but may reveal internal architecture details.

## Recommendation

Gate all development-time `console.warn` and `console.error` calls behind `process.env.NODE_ENV !== 'production'` or a `__DEV__` constant that build tools can tree-shake.

(As written by GitHub Advisory Database.)

## Affected

- @asymmetric-effort/specifyjs (npm): before 0.2.140

## References

- <https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-qcr8-x557-7cp3> (web)
- <https://github.com/asymmetric-effort/specifyjs/commit/2ef791bc73ead853efd0c227ad8228bc594a7b63> (web)
- <https://github.com/asymmetric-effort/specifyjs> (package)

## Sources

- GitHub Advisory Database: [GHSA-qcr8-x557-7cp3](https://github.com/advisories/GHSA-qcr8-x557-7cp3), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/GHSA-qcr8-x557-7cp3 · Whole record: https://cve.day/GHSA-qcr8-x557-7cp3.json · Rebuilt by cve.day 2026-11-25T22:56:46.274Z
