WordPress Core 4.7.0 - 7.1.2 - Conditional Action Hook Injection via Unregistered Post Status or Post Type
WordPress Core is vulnerable to conditional action hook injection in versions 4.7 through 7.1.2 because wp_transition_post_status() constructs status- and post-type-specific action names without first verifying that the supplied status and post type are registered. This makes it possible for attackers who have a separate method of introducing an unregistered status or post type into a post transition to collide with an existing action name and invoke a site-specific callback in an unintended context.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| WordPress (core) | WordPress | >= 4.7.0, <= 4.7.37, >= 4.8.0, <= 4.8.32, >= 4.9.0, <= 4.9.33, >= 5.0.0, <= 5.0.29, >= 5.1.0, <= 5.1.26, >= 5.2.0, <= 5.2.28, >= 5.3.0, <= 5.3.25, >= 5.4.0, <= 5.4.23, >= 5.5.0, <= 5.5.22, >= 5.6.0, <= 5.6.21, >= 5.7.0, <= 5.7.19, >= 5.8.0, <= 5.8.17, >= 5.9.0, <= 5.9.18, >= 6.0.0, <= 6.0.16, >= 6.1.0, <= 6.1.14, >= 6.2.0, <= 6.2.13, >= 6.3.0, <= 6.3.12, >= 6.4.0, <= 6.4.12, >= 6.5.0, <= 6.5.12, >= 6.6.0, <= 6.6.9, >= 6.7.0, <= 6.7.9, >= 6.8.0, <= 6.8.10, >= 6.9.0, <= 6.9.9, >= 7.0.0, <= 7.0.6, >= 7.1.0, <= 7.1.2 | 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 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N- Weakness (CWE)
CWE-20- Platform
- WordPress
- Package
WordPress- Disclosed
- 07.10.2026
- Updated
- 11.10.2026 10:23
Sources and licenses
Wordfence Intelligence - d27c2393-64b2-4087-aa91-cbfaec644e13 - Wordfence Intelligence
Copyright 2012-2026 Defiant Inc.
This record contains material that is subject to copyright
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.
https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/Wordfence Intelligence
Wordfence Intelligence - Defiant, Inc. Copyright Defiant, Inc. All rights reserved except as granted below. License grant, section 3.1 of the Wordfence Intelligence Terms and Conditions (January 26, 2026): Subject to this Agreement, Company hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute the Service. Any copy you make for such purposes is authorized provided that you reproduce Company’s copyright designation, this license, and the license of any disclosed Company licensor in any such copy. Full applicable Agreement: https://www.wordfence.com/wordfence-intelligence-terms-and-conditions/
Vulnerability history: WordPress
All published vulnerabilities of this package (WordPress (core)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 385
- First → latest
- 06.2003 10.2026
- Without a fix
- 0
- Exploited in attacks
- 3
Severity breakdown
- Critical 16
- High 95
- Medium 263
- Low 11
Disclosures per year
- 2017: 39
- 2018: 15
- 2019: 22
- 2020: 23
- 2021: 5
- 2022: 20
- 2023: 14
- 2024: 4
- 2025: 2
- 2026: 36
earlier: 205
-
WordPress Core 4.7.0 - 7.1.2 - Conditional Action Hook Injection via Unregistered Post Status or Post Type this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.