Skip to content

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

MediumCVSS 6.9
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
asymmetric-effort specifyjs(npm) < 0.2.140; <= 0.2.137 0.2.140 Fixed

Affected products

ProductAffected versionsFixed in
asymmetric-effort specifyjs(npm) <= 0.2.137 No fix listed
asymmetric-effort specifyjs(npm) < 0.2.140 0.2.140

References