Security readout for executives and security teams
Plain-English summary
This issue can expose HTTP Basic Authentication credentials inside a Gatsby site's generated JavaScript bundle. The business risk is credential disclosure from a public website artifact, not site takeover by itself. It matters most for teams using gatsby-source-wordpress with basic auth values configured during builds.
Executive priority
Prioritize remediation for externally hosted Gatsby sites connected to WordPress using basic auth. Treat confirmed exposure as a credential incident requiring rotation and artifact cleanup.
Technical view
gatsby-source-wordpress before 4.0.8 and 5.9.2 can leak variables from the auth configuration into app.js at build time. The issue is CWE-200 information exposure with CVSS 7.5, affecting confidentiality. Users without basic authentication credentials initialized in gatsby-config.js are not affected.
Likely exposure
Exposure is likely limited to Gatsby builds using vulnerable gatsby-source-wordpress versions and configured basic auth credentials. Publicly deployed app.js bundles increase risk because leaked credentials may be reachable by unauthenticated visitors.
Exploitation context
The supplied sources do not show known active exploitation, and KEV is false. The risk comes from credentials being embedded in client-delivered build output, which can be reviewed by anyone able to access the site bundle.
Researcher notes
The advisory narrows impact to users initializing basic authentication credentials in gatsby-config.js. The provided evidence names patched versions and a cleanup sequence, but does not provide proof of exploitation or indicate additional affected products.
Mitigation direction
- Upgrade gatsby-source-wordpress to 4.0.8, 5.9.2, or later.
- Run gatsby clean, then rebuild and redeploy the site.
- Rotate any credentials that may have been exposed in public bundles.
- If upgrading is delayed, follow vendor guidance for manual app.js cleanup.
Validation and detection
- Inventory Gatsby projects using gatsby-source-wordpress and identify plugin versions.
- Review gatsby-config.js for auth configuration containing basic auth credentials.
- Inspect deployed build artifacts for exposed auth variables in app.js.
- Confirm rebuilt artifacts replaced older cached or CDN-hosted bundles.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-200: Information exposure and cloud metadata lookup
Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCredential and access behavior lookup
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-32770 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.5HighVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/gatsbyjs/gatsby/security/advisories/GHSA-rqjw-p5vr-c695CVE reference · x_refsource_CONFIRM
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Exposure of Sensitive Information to an Unauthorized Actor
Exposure of Sensitive Information to an Unauthorized Actor represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
