WordPress Core <= 7.0.2 — Authenticated (Contributor+) Stored Cross-Site Scripting via Emoji Settings Element
5faaf7d1-2012-42d5-affa-a5ff3388d25aPublished · Updated Action summary
Affected: ≤7.0.2Update to 4.7.34 or 4.8.29 or 4.9.30 or 5.0.26 or 5.1.23 or 5.2.25 or 5.3.22 or 5.4.20 or 5.5.19 or 5.6.18 or 5.7.16 or 5.8.14 or 5.9.14 or 6.0.13 or 6.1.11 or 6.2.10 or 6.3.9 or 6.4.9 or 6.5.9 or 6.6.6 or 6.7.6 or 6.8.7 or 6.9.6 or 7.0.3 or newer
Fixed versions are per release branch: update to the fix for the branch you run.
All remediation stepsOn this page3
Overview
- Advisory ID
- 5faaf7d1-2012-42d5-affa-a5ff3388d25a
- Product
- WordPress wordpress
- Affected
- ≤7.0.2
- Fixed in
- 4.7.34, 4.8.29, 4.9.30, 5.0.26, 5.1.23, 5.2.25, 5.3.22, 5.4.20, 5.5.19, 5.6.18, 5.7.16, 5.8.14, 5.9.14, 6.0.13, 6.1.11, 6.2.10, 6.3.9, 6.4.9, 6.5.9, 6.6.6, 6.7.6, 6.8.7, 6.9.6, 7.0.3
- Weakness
- CWE-79 Cross-Site Scripting
- Required access
- Low-privilege account (e.g. subscriber)
- Published
- · updated
- Credit
- Asaf Mozes
- Affected≤ 7.0.2
- Patched in4.7.34 / 4.8.29 / 4.9.30 / 5.0.26 / 5.1.23 / 5.2.25 / 5.3.22 / 5.4.20 / 5.5.19 / 5.6.18 / 5.7.16 / 5.8.14 / 5.9.14 / 6.0.13 / 6.1.11 / 6.2.10 / 6.3.9 / 6.4.9 / 6.5.9 / 6.6.6 / 6.7.6 / 6.8.7 / 6.9.6 / 7.0.3
Update to 4.7.34 / 4.8.29 / 4.9.30 / 5.0.26 / 5.1.23 / 5.2.25 / 5.3.22 / 5.4.20 / 5.5.19 / 5.6.18 / 5.7.16 / 5.8.14 / 5.9.14 / 6.0.13 / 6.1.11 / 6.2.10 / 6.3.9 / 6.4.9 / 6.5.9 / 6.6.6 / 6.7.6 / 6.8.7 / 6.9.6 / 7.0.3 or newer.
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
WordPress Core is vulnerable to Stored Cross-Site Scripting via the emoji settings element in all versions up to, and including, 7.0.2 due to insufficient restrictions on submitted post content. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in posts that will execute whenever a user previews the affected post.
Not sure which version you run? Run a passive check — it reads public files only.
Remediation & mitigations
- Update to one of the following versions, or a newer patched version: 4.7.34, 4.8.29, 4.9.30, 5.0.26, 5.1.23, 5.2.25, 5.3.22, 5.4.20, 5.5.19, 5.6.18, 5.7.16, 5.8.14, 5.9.14, 6.0.13, 6.1.11, 6.2.10, 6.3.9, 6.4.9, 6.5.9, 6.6.6, 6.7.6, 6.8.7, 6.9.6, 7.0.3
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
References & provenance
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Timeline
CVE published
Severity medium, CVSS 6.4
Record last updated
Sources & licenses
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.
