Reported vulnerability
WordPress Core < 5.9.2 & Gutenberg < 12.7.2 - Prototype Pollution via Block Editor
Published 11 Mar 2022
Updated 22 Jan 2024
Compare your installed software with the affected versions below. Follow the source’s remediation guidance and test an available update after taking a backup. A database entry describes a reported issue; it does not establish whether a particular website has been compromised.
Does this affect my version?
Check your installed version against this advisory. This compares the report’s version ranges and does not scan your website.
Wordfence advisory
medium · CVSS 5.4WordPress Core in various versions < 5.9.2 and Gutenberg versions less than 12.7.2 are vulnerable to prototype pollution via the block editor which could make injecting malicious web scripts possible in some cases.
Severity vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
WordPress
- Software
- WordPress Core · wordpress
- Affected versions
- Start version unspecified, before 3.7; From 3.7, through 3.7.37; From 3.8, through 3.8.37; From 3.9, through 3.9.35; From 4.0, through 4.0.34; From 4.1, through 4.1.34; From 4.2, through 4.2.31; From 4.3, through 4.3.27; From 4.4, through 4.4.26; From 4.5, through 4.5.25; From 4.6, through 4.6.22; From 4.7, through 4.7.22; From 4.8, through 4.8.18; From 4.9, through 4.9.19; From 5.0, through 5.0.15; From 5.1, through 5.1.12; From 5.2, through 5.2.14; From 5.3, through 5.3.11; From 5.4, through 5.4.9; From 5.5, through 5.5.8; From 5.6, through 5.6.7; From 5.7, through 5.7.5; From 5.8, through 5.8.3; From 5.9, through 5.9.1
- Fix availability
- Fix available
- Fixed versions
- 3.7.38, 3.8.38, 3.9.36, 4.0.35, 4.1.35, 4.2.32, 4.3.28, 4.4.27, 4.5.26, 4.6.23, 4.7.23, 4.8.19, 4.9.20, 5.0.16, 5.1.13, 5.2.15, 5.3.12, 5.4.10, 5.5.9, 5.6.8, 5.7.6, 5.8.4, 5.9.2
Recommended action
Update to one of the following versions, or a newer patched version: 3.7.38, 3.8.38, 3.9.36, 4.0.35, 4.1.35, 4.2.32, 4.3.28, 4.4.27, 4.5.26, 4.6.23, 4.7.23, 4.8.19, 4.9.20, 5.0.16, 5.1.13, 5.2.15, 5.3.12, 5.4.10, 5.5.9, 5.6.8, 5.7.6, 5.8.4, 5.9.2
Gutenberg
- Software
- plugin · gutenberg
- Affected versions
- Start version unspecified, before 12.7.2
- Fix availability
- Fix available
- Fixed versions
- 12.7.2
Recommended action
Update to version 12.7.2, or a newer patched version
Further references (1)
Data sources and licences
Copyright 2012-2026 Defiant Inc.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
Read licence termsSource: Wordfence
Need help fixing this issue?
Get help checking your site, applying an available update and resolving any problems after updating.
Get help with this issueQuestions about this vulnerability
How do I check which product and version this report affects?
This report covers more than one product. Choose your plugin, theme or WordPress core in the version checker, then enter its installed version. Each product has its own affected ranges and fix details in the report above.
Which update should I install?
Find your exact product in the report and read its fixed versions and recommended action. Fix details for one product do not apply to every product covered by this advisory. Follow the linked source when no fixed version is specified.
Does an affected version mean my website has been hacked?
An affected version means the installed release matches a vulnerability described in this report. It does not show whether anyone has exploited it on your website. The checker compares version numbers with stored reports; it does not inspect your website.
Does a version outside these ranges mean my website is secure?
A version outside the reported ranges is not listed as affected by this particular issue. Other vulnerabilities, missing information or a previous compromise still need separate checks. Review other reports for your product and keep your website maintained.
Other reports for the same product
These reports cover at least one of the same plugins, themes or WordPress core. Check each report’s affected versions separately.
- WordPress Core 4.7.0 - 7.1.2 - Unauthenticated Sensitive Information Exposure via Comment FeedsUpdated 7 Oct 2026
- WordPress Core 4.7.0 - 7.1.2 - Conditional Action Hook Injection via Unregistered Post Status or Post TypeUpdated 7 Oct 2026
- WordPress Core 4.7.0 - 7.1.2 - Authenticated (Author+) Unauthorized Sticky Post Modification via REST APIUpdated 7 Oct 2026
- WordPress Core 4.7.0 - 7.1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Imgur oEmbedUpdated 7 Oct 2026
- WordPress Core 4.7.0 - 7.1.2 - Authenticated (Contributor+) Denial of Service via Block Editor URL DetailsUpdated 7 Oct 2026