Security readout for executives and security teams
Plain-English summary
This was a stored XSS flaw in the Custom HTML widget added during WordPress 5.8 beta testing. Affected sites were limited to WordPress 5.8 beta 1 and beta 2. WordPress says it was patched in 5.8 and only present during the beta phase.
Executive priority
Treat as a targeted cleanup item, not a broad emergency, unless the organization ran WordPress 5.8 beta builds on public sites. Confirm version exposure and upgrade status quickly.
Technical view
Improper handling of HTML input in the WordPress 5.8 beta widgets editor allowed stored cross-site scripting in the Custom HTML widget. CVSS 3.1 is 7.6 with network access, low complexity, low privileges, required user interaction, and changed scope.
Likely exposure
Exposure should be narrow: WordPress sites that publicly deployed 5.8 beta 1 or 5.8 beta 2. Stable WordPress 5.8 is listed as patched. Production sites that avoided beta releases are unlikely to be affected based on the provided sources.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation. The vulnerability could matter where untrusted or compromised low-privilege users could store Custom HTML widget content that later reaches another user’s browser.
Researcher notes
Evidence is strongest for beta-only exposure and a stable-version patch. The public bundle does not provide exploit-in-the-wild evidence. Validation should focus on historical beta deployment, widget-edit permissions, and stored Custom HTML content integrity.
Mitigation direction
- Upgrade any WordPress 5.8 beta 1 or beta 2 instance to WordPress 5.8 stable or later.
- Remove beta WordPress builds from public production environments.
- Restrict widget editing to trusted users until upgrade status is confirmed.
- Review and clean Custom HTML widget content created during beta testing.
- Check WordPress vendor guidance for any environment-specific remediation notes.
Validation and detection
- Inventory WordPress versions and identify any 5.8 beta 1 or beta 2 deployments.
- Confirm affected beta deployments were upgraded to WordPress 5.8 stable or later.
- Review Custom HTML widget entries changed during the beta window.
- Check user accounts able to edit widgets during the affected period.
- Look for unexpected widget content changes or suspicious administrative activity.
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-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. 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 lookupDatabase behavior lookup
The CVE wording references database injection or access, so collection and exfiltration 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-39202 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.6 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/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:L/UI:R/S:C/C:H/I:L/A:N2.34.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.6HighVector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fr6h-3855-j297CVE reference · x_refsource_CONFIRM
- https://hackerone.com/reports/1222797CVE reference · x_refsource_MISC
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.
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
