{"id":"GHSA-qcr8-x557-7cp3","revision":"d4226697f32d4ca6af565907ccb08f56","records":[{"revision":"d4226697f32d4ca6af565907ccb08f56","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-qcr8-x557-7cp3","aliases":[],"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.","state":0,"publishedAt":"2026-07-02T19:03:10+00:00","modifiedAt":"2026-09-10T03:51:11.7987764+00:00","affected":[{"ecosystem":"npm","name":"@asymmetric-effort/specifyjs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.2.140"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-qcr8-x557-7cp3","https://github.com/asymmetric-effort/specifyjs/commit/2ef791bc73ead853efd0c227ad8228bc594a7b63","https://github.com/asymmetric-effort/specifyjs"],"sourceUrl":"https://github.com/advisories/GHSA-qcr8-x557-7cp3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qcr8-x557-7cp3","identifiers":["GHSA-qcr8-x557-7cp3"]},"retained":false,"historicalAffected":[]}],"coverage":[]}