QID 981959
QID 981959: Nodejs (npm) Security Update for gatsby-source-wordpress (GHSA-rqjw-p5vr-c695)
Security update has been released for gatsby-source-wordpress to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
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.
Example affected gatsby-config.js:
```
resolve: 'gatsby-source-wordpress',
auth: {
htaccess: {
username: leaked_username
password: leaked_password,
},
},
```
There is no known workaround at this time, other than manually editing the app.js file post-build.
- GHSA-rqjw-p5vr-c695 -
github.com/advisories/GHSA-rqjw-p5vr-c695
CVEs related to QID 981959
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-rqjw-p5vr-c695 | gatsby-source-wordpress |
|