WordPress Core < 6.2.1 — Authenticated (Contributor+) Stored Cross-Site Scripting via Embed Discovery
bba3eeeb-5e7e-4ec3-9db0-02c44585647aPublished · Updated Action summary
Affected: <6.2.1Update to 4.1.38 or 4.2.35 or 4.3.31 or 4.4.30 or 4.5.29 or 4.6.26 or 4.7.26 or 4.8.22 or 4.9.23 or 5.0.19 or 5.1.16 or 5.2.18 or 5.3.15 or 5.4.13 or 5.5.12 or 5.6.11 or 5.7.9 or 5.8.7 or 5.9.6 or 6.0.4 or 6.1.2 or 6.2.1 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
- bba3eeeb-5e7e-4ec3-9db0-02c44585647a
- Product
- WordPress wordpress
- Affected
- <6.2.1
- Fixed in
- 4.1.38, 4.2.35, 4.3.31, 4.4.30, 4.5.29, 4.6.26, 4.7.26, 4.8.22, 4.9.23, 5.0.19, 5.1.16, 5.2.18, 5.3.15, 5.4.13, 5.5.12, 5.6.11, 5.7.9, 5.8.7, 5.9.6, 6.0.4, 6.1.2, 6.2.1
- Weakness
- CWE-79 Cross-Site Scripting
- Required access
- Low-privilege account (e.g. subscriber)
- Published
- · updated
- Credit
- Jakub Zoczek
- Affected< 6.2.1
- Patched in4.1.38 / 4.2.35 / 4.3.31 / 4.4.30 / 4.5.29 / 4.6.26 / 4.7.26 / 4.8.22 / 4.9.23 / 5.0.19 / 5.1.16 / 5.2.18 / 5.3.15 / 5.4.13 / 5.5.12 / 5.6.11 / 5.7.9 / 5.8.7 / 5.9.6 / 6.0.4 / 6.1.2 / 6.2.1
Update to 4.1.38 / 4.2.35 / 4.3.31 / 4.4.30 / 4.5.29 / 4.6.26 / 4.7.26 / 4.8.22 / 4.9.23 / 5.0.19 / 5.1.16 / 5.2.18 / 5.3.15 / 5.4.13 / 5.5.12 / 5.6.11 / 5.7.9 / 5.8.7 / 5.9.6 / 6.0.4 / 6.1.2 / 6.2.1 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 in versions up to, and including, 6.2, due to insufficient validation of the protocol in the response when processing oEmbed discovery. This makes it possible for authenticated attackers with contributor-level and above permissions to use a crafted oEmbed payload at a remote URL to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
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.1.38, 4.2.35, 4.3.31, 4.4.30, 4.5.29, 4.6.26, 4.7.26, 4.8.22, 4.9.23, 5.0.19, 5.1.16, 5.2.18, 5.3.15, 5.4.13, 5.5.12, 5.6.11, 5.7.9, 5.8.7, 5.9.6, 6.0.4, 6.1.2, 6.2.1
- 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.
