{"id":"GHSA-qcr8-x557-7cp3","aliases":["GHSA-qcr8-x557-7cp3"],"related":[],"kind":"vulnerability","state":"published","title":"@asymmetric-effort/specifyjs: Production console warnings may leak internal framework state","summary":"## 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"## 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.","format":"markdown","source":"ghsa"}],"published":"2026-07-02T19:03:10.000Z","modified":"2026-09-10T03:51:11.798Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-209"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.140"}],"ecosystem":"npm","package":"@asymmetric-effort/specifyjs","purl":"pkg:npm/%40asymmetric-effort/specifyjs","source":"ghsa"}],"references":[{"url":"https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-qcr8-x557-7cp3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/asymmetric-effort/specifyjs/commit/2ef791bc73ead853efd0c227ad8228bc594a7b63","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/asymmetric-effort/specifyjs","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qcr8-x557-7cp3","url":"https://github.com/advisories/GHSA-qcr8-x557-7cp3","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:11.798Z"}],"updatedAt":"2026-11-25T22:56:46.274Z"}