WordPress Core < 6.2.1 — Shortcode Execution in User Generated Content
6300c8c2-f539-46b2-9ee0-80bebbe4cad3Published · Updated Action summary
Affected: <6.2.1Update to 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
- 6300c8c2-f539-46b2-9ee0-80bebbe4cad3
- Product
- WordPress wordpress
- Affected
- <6.2.1
- Fixed in
- 5.9.6, 6.0.4, 6.1.2, 6.2.1
- Required access
- No account needed
- Published
- · updated
- Credit
- Liam Gladdy
- Affected< 6.2.1
- Patched in5.9.6 / 6.0.4 / 6.1.2 / 6.2.1
Update to 5.9.6 / 6.0.4 / 6.1.2 / 6.2.1 or newer.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:NPrivileges required- None
UI:NUser interaction- None
S:UScope- Unchanged
C:LConfidentiality- Low
I:LIntegrity- Low
A:NAvailability- None
WordPress Core processes shortcodes in user-generated content on block themes in versions up to, and including, 6.2. This could allow unauthenticated attackers to execute shortcodes via submitting comments or other content, allowing them to exploit vulnerabilities that typically require Subscriber or Contributor-level permissions.
While this is likely to have minimal impact on its own, it can significantly increase the severity of other vulnerabilities.
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: 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.5
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.
