GHSA-qcr8-x557-7cp3

Suggest an improvement
Source
https://github.com/advisories/GHSA-qcr8-x557-7cp3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-qcr8-x557-7cp3/GHSA-qcr8-x557-7cp3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qcr8-x557-7cp3
Published
2026-07-02T19:03:10Z
Modified
2026-09-10T03:51:11Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
@asymmetric-effort/specifyjs: Production console warnings may leak internal framework state
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-209"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-02T19:03:10Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / @asymmetric-effort/specifyjs

Package

Name
@asymmetric-effort/specifyjs
View open source insights on deps.dev
Purl
pkg:npm/%40asymmetric-effort/specifyjs

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.2.140

Database specific

last_known_affected_version_range
"<= 0.2.137"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-qcr8-x557-7cp3/GHSA-qcr8-x557-7cp3.json"