WordPress Core 4.7.0 — 7.1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Imgur oEmbed
71f883d7-edf5-409e-92c1-f87f880602d3Published · Updated Action summary
Affected: ≤7.1.2Update to 4.7.38 or 4.8.33 or 4.9.34 or 5.0.30 or 5.1.27 or 5.2.29 or 5.3.26 or 5.4.24 or 5.5.23 or 5.6.22 or 5.7.20 or 5.8.18 or 5.9.19 or 6.0.17 or 6.1.15 or 6.2.14 or 6.3.13 or 6.4.13 or 6.5.13 or 6.6.10 or 6.7.10 or 6.8.11 or 6.9.10 or 7.0.7 or 7.1.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
- 71f883d7-edf5-409e-92c1-f87f880602d3
- Product
- WordPress wordpress
- Affected
- ≤7.1.2
- Fixed in
- 4.7.38, 4.8.33, 4.9.34, 5.0.30, 5.1.27, 5.2.29, 5.3.26, 5.4.24, 5.5.23, 5.6.22, 5.7.20, 5.8.18, 5.9.19, 6.0.17, 6.1.15, 6.2.14, 6.3.13, 6.4.13, 6.5.13, 6.6.10, 6.7.10, 6.8.11, 6.9.10, 7.0.7, 7.1.3
- Weakness
- CWE-79 Cross-Site Scripting
- Required access
- Unknown
- Published
- · updated
- Credit
- Zhengyu Liu, Jingcheng Yang, Gavin Zhong
- Affected≤ 7.1.2
- Patched in4.7.38 / 4.8.33 / 4.9.34 / 5.0.30 / 5.1.27 / 5.2.29 / 5.3.26 / 5.4.24 / 5.5.23 / 5.6.22 / 5.7.20 / 5.8.18 / 5.9.19 / 6.0.17 / 6.1.15 / 6.2.14 / 6.3.13 / 6.4.13 / 6.5.13 / 6.6.10 / 6.7.10 / 6.8.11 / 6.9.10 / 7.0.7 / 7.1.3
Update to 4.7.38 / 4.8.33 / 4.9.34 / 5.0.30 / 5.1.27 / 5.2.29 / 5.3.26 / 5.4.24 / 5.5.23 / 5.6.22 / 5.7.20 / 5.8.18 / 5.9.19 / 6.0.17 / 6.1.15 / 6.2.14 / 6.3.13 / 6.4.13 / 6.5.13 / 6.6.10 / 6.7.10 / 6.8.11 / 6.9.10 / 7.0.7 / 7.1.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 Imgur embeds in versions 4.7 through 7.1.2 because Imgur is registered as a trusted oEmbed provider and its returned embed HTML is rendered without untrusted-provider sanitization. This makes it possible for authenticated attackers, with Contributor-level access and above, to store a crafted Imgur embed that can execute web scripts when an affected post is rendered by another user.
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.38, 4.8.33, 4.9.34, 5.0.30, 5.1.27, 5.2.29, 5.3.26, 5.4.24, 5.5.23, 5.6.22, 5.7.20, 5.8.18, 5.9.19, 6.0.17, 6.1.15, 6.2.14, 6.3.13, 6.4.13, 6.5.13, 6.6.10, 6.7.10, 6.8.11, 6.9.10, 7.0.7, 7.1.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
Related CVEs
| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium6.4 | Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via 'data-text-sec', 'data-title', and 'title' Attributes via Custom HTML Block | CVE-2026-18742 | |
| High7.1 | Unauthenticated PHP Object Injection to Arbitrary File Deletion via 'comment_content'/'comment_agent' Parameter during Attachment Rename Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization≤4.2.19Update to 4.2.20VulnCrest analysis | CVE-2026-124969 | |
| Critical9.8 | Missing Authorization to Unauthenticated Arbitrary User Password Reset / Account Takeover via Webhook with 'Is the user ID' Field | CVE-2026-126173 | |
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header | CVE-2026-120688 |
- Medium6.4Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via 'data-text-sec', 'data-title', and 'title' Attributes via Custom HTML Block
Flatsome
≤3.20.12Update to 3.20.13
- High7.1VulnCrest analysisUnauthenticated PHP Object Injection to Arbitrary File Deletion via 'comment_content'/'comment_agent' Parameter during Attachment Rename
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
≤4.2.19Update to 4.2.20
- Critical9.8Missing Authorization to Unauthenticated Arbitrary User Password Reset / Account Takeover via Webhook with 'Is the user ID' Field
AutomatorWP Webhooks
≤1.4.4Update to 1.4.5
- 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
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.
