Skip to main content
VulnerabilityPublished

@asymmetric-effort/specifyjs: Production console warnings may leak internal framework state

Affects @asymmetric-effort/specifyjsSource GCVE Database

0

CVSS 6.9 Medium : upgrade to 0.2.140 when convenient.

Data as of 3 Jul 2026, 22:49 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.2.140
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

What to do

Upgrade @asymmetric-effort/specifyjs to 0.2.140.

Affected software

ProductAffectedFixed in
npm@asymmetric-effort/specifyjsAffected
  • <0.2.140
Fixed in
  • 0.2.140

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The recommended mitigation is to gate all development-time console.warn and console.error calls behind a check such as process.env.NODE_ENV !== 'production' or a __DEV__ constant that build tools can remove in production builds. This prevents internal state information from being exposed in production environments. Users of affected versions should implement this gating in their builds or monitor for an official fix.

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.

References

Community reviews

Loading reviews…