CVE-2021-32770
published high CVSS 3.1 · 7.5Basic-auth app bundle credential exposure in gatsby-source-wordpress
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gatsbyjs | — | gatsby< 4.0.8 · >= 5.0.0, < 5.9.2 | Affected | Not stated | GitHub_M |
Description
Gatsby is a framework for building websites. The gatsby-source-wordpress plugin prior to versions 4.0.8 and 5.9.2 leaks .htaccess HTTP Basic Authentication variables into the app.js bundle during build-time. Users who are not initializing basic authentication credentials in the gatsby-config.js are not affected. A patch has been introduced in [email protected] and [email protected] which mitigates the issue by filtering all variables specified in the `auth: { }` section. Users that depend on this functionality are advised to upgrade to the latest release of gatsby-source-wordpress, run `gatsby clean` followed by a `gatsby build`. One may manually edit the app.js file post-build as a workaround.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gatsbyjs | gatsby | < 4.0.8 (affected)>= 5.0.0, < 5.9.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
1Provider assertions
2GitHub_M · cna
Basic-auth app bundle credential exposure in gatsby-source-wordpress
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fb8680a6ca52946725d34abbafae7ec8cc0416c2316db0eb2f26ff5211238612
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record