{"id":"GHSA-qcr8-x557-7cp3","aliases":[],"status":"published","title":"@asymmetric-effort/specifyjs: Production console warnings may leak internal framework state","description":"## Finding\n\n**Location**: `core/src/core/scheduler.ts:23`, `core/src/hooks/dispatcher.ts:100`, `core/src/client/graphql.ts:71`\n\nSeveral `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.\n\n## Status\n\n**Open** — These warnings serve as development-time diagnostics. They do not expose credentials or PII, but may reveal internal architecture details.\n\n## Recommendation\n\nGate 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.","severity":{"version":"4.0","score":6.9,"vector":"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","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-209"],"published":"2026-07-02T19:03:10Z","modified":"2026-09-10T03:51:11Z","fixes":[{"ecosystem":"npm","package":"@asymmetric-effort/specifyjs","fixed_in":["0.2.140"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@asymmetric-effort/specifyjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.2.137"},{"fixed":"0.2.140"}]}]},{"source":"osv","ecosystem":"npm","package":"@asymmetric-effort/specifyjs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.140"}]}]}],"references":[{"url":"https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-qcr8-x557-7cp3","tags":["web"]},{"url":"https://github.com/asymmetric-effort/specifyjs/commit/2ef791bc73ead853efd0c227ad8228bc594a7b63","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qcr8-x557-7cp3"},{"url":"https://github.com/asymmetric-effort/specifyjs","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-qcr8-x557-7cp3","title":"@asymmetric-effort/specifyjs: Production console warnings may leak internal framework state","description":"## Finding\n\n**Location**: `core/src/core/scheduler.ts:23`, `core/src/hooks/dispatcher.ts:100`, `core/src/client/graphql.ts:71`\n\nSeveral `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.\n\n## Status\n\n**Open** — These warnings serve as development-time diagnostics. They do not expose credentials or PII, but may reveal internal architecture details.\n\n## Recommendation\n\nGate 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.","status":"published","published":"2026-07-02T19:03:10Z","modified":"2026-07-02T19:03:11Z","cvss":[{"version":"4.0","score":6.9,"vector":"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","level":"medium"}],"cwes":["CWE-209"],"updated_at":"2026-11-02T14:40:37.437888Z"}],"osv":[{"id":"GHSA-qcr8-x557-7cp3","title":"@asymmetric-effort/specifyjs: Production console warnings may leak internal framework state","description":"## Finding\n\n**Location**: `core/src/core/scheduler.ts:23`, `core/src/hooks/dispatcher.ts:100`, `core/src/client/graphql.ts:71`\n\nSeveral `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.\n\n## Status\n\n**Open** — These warnings serve as development-time diagnostics. They do not expose credentials or PII, but may reveal internal architecture details.\n\n## Recommendation\n\nGate 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.","status":"published","published":"2026-07-02T19:03:10Z","modified":"2026-09-10T03:51:11.798776372Z","cvss":[{"version":"4.0","score":6.9,"vector":"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","level":"medium"}],"cwes":["CWE-209"],"updated_at":"2026-11-02T15:46:54.40888Z"}]}}
