Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-32770

7.5 · HIGH
Published Jul 15, 2021 gatsbyjs CWE-200 EPSS 1.41% (71th pctl)

Overview

CVE-2021-32770 is a high-severity vulnerability affecting gatsbyjs gatsby-source-wordpress. It was published on July 15, 2021 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from gatsbyjs. Update gatsby-source-wordpress to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gatsbyjs gatsby-source-wordpress >= 0, < 4.0.8 Affected

Frequently Asked Questions

What is CVE-2021-32770?

CVE-2021-32770 is a high-severity vulnerability affecting gatsbyjs gatsby-source-wordpress. It was published on July 15, 2021 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2021-32770?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-32770?

Check the references section for vendor advisories and patches from gatsbyjs. Update gatsby-source-wordpress to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-32770?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-32770 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.