WordPress Core 5.0.0 — 7.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Non-HTML Whitespace in Block Delimiters
24525b6d-016a-4e9a-9521-eac082faab6fPublished · Updated Action summary
Affected: ≤7.1.3Update to 5.0.31 or 5.1.28 or 5.2.30 or 5.3.27 or 5.4.25 or 5.5.24 or 5.6.23 or 5.7.21 or 5.8.19 or 5.9.20 or 6.0.18 or 6.1.16 or 6.2.15 or 6.3.14 or 6.4.14 or 6.5.14 or 6.6.11 or 6.7.11 or 6.8.12 or 6.9.11 or 7.0.8 or 7.1.4 or newer
Fixed versions are per release branch: update to the fix for the branch you run.
All remediation steps- Severity
- Medium6.4
- CVSS
- 6.4CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:CScope- Changed
C:LConfidentiality- Low
I:LIntegrity- Low
A:NAvailability- None
- Weakness
- CWE-79 Cross-Site Scripting
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
WordPress wordpress
- Affected≤ 7.1.3
- Patched in5.0.31 / 5.1.28 / 5.2.30 / 5.3.27 / 5.4.25 / 5.5.24 / 5.6.23 / 5.7.21 / 5.8.19 / 5.9.20 / 6.0.18 / 6.1.16 / 6.2.15 / 6.3.14 / 6.4.14 / 6.5.14 / 6.6.11 / 6.7.11 / 6.8.12 / 6.9.11 / 7.0.8 / 7.1.4
Update to 5.0.31 / 5.1.28 / 5.2.30 / 5.3.27 / 5.4.25 / 5.5.24 / 5.6.23 / 5.7.21 / 5.8.19 / 5.9.20 / 6.0.18 / 6.1.16 / 6.2.15 / 6.3.14 / 6.4.14 / 6.5.14 / 6.6.11 / 6.7.11 / 6.8.12 / 6.9.11 / 7.0.8 / 7.1.4 or newer.
You are affected if you run ≤ 7.1.3. Version 5.0.31, 5.1.28, 5.2.30, 5.3.27, 5.4.25, 5.5.24, 5.6.23, 5.7.21, 5.8.19, 5.9.20, 6.0.18, 6.1.16, 6.2.15, 6.3.14, 6.4.14, 6.5.14, 6.6.11, 6.7.11, 6.8.12, 6.9.11, 7.0.8, 7.1.4 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under WordPress.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to one of the following versions, or a newer patched version: 5.0.31, 5.1.28, 5.2.30, 5.3.27, 5.4.25, 5.5.24, 5.6.23, 5.7.21, 5.8.19, 5.9.20, 6.0.18, 6.1.16, 6.2.15, 6.3.14, 6.4.14, 6.5.14, 6.6.11, 6.7.11, 6.8.12, 6.9.11, 7.0.8, 7.1.4
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch WordPress to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Rafie Muhammad.
WordPress Core is vulnerable to Stored Cross-Site Scripting via block delimiter parsing in versions 5.0 through 7.1.3. This is due to inconsistent whitespace handling between the server-side PHP block parser and the client-side JavaScript block parser, which makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts that execute when a privileged user processes crafted content.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
Same weakness (Cross-Site Scripting)
All Cross-Site Scripting| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header | CVE-2026-120688 | |
| Critical9.8 | Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission | CVE-2026-125055 | |
| Critical9.8 | Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter | CVE-2026-119077 | |
| Medium5.3 | Unauthenticated Sensitive Information Exposure in 'search' Parameter | CVE-2026-121518 |
- High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header
EZ SQL Reports Shortcode Widget and DB Backup
≤5.25.25Update to 5.26.45
- Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission
Chatterbug Forms – Fast, Flexible WordPress Form Builder
≤1.0.2Update to 1.1
- Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter
ELEX WordPress HelpDesk & Customer Ticketing System
≤3.3.9Update to 3.4.0
- Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce
≤5.127.0Update to 5.128.0
Timeline
CVE published
Severity medium, CVSS 6.4
Record last updated
Sources & licenses
- Vulnerability data
- Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
