In affected versions of WordPress, a special payload can be crafted that can lead to scripts getting executed within the search block of the block editor. This requires an authenticated user with the ability to add content. This has been patched in version 5.4.1, along with all the previously affected versions via a minor release (5.3.3, 5.2.6, 5.1.5, 5.0.9, 4.9.14, 4.8.13, 4.7.17, 4.6.18, 4.5.21, 4.4.22, 4.3.23, 4.2.27, 4.1.30, 4.0.30, 3.9.31, 3.8.33, 3.7.33).
The product does not ensure or incorrectly ensures that structured messages or data are well-formed and that certain security properties are met before being read from an upstream component or sent to a downstream component.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Wordpress | Wordpress | * | 5.4.1 (excluding) |
Wordpress | Ubuntu | bionic | * |
Wordpress | Ubuntu | devel | * |
Wordpress | Ubuntu | eoan | * |
Wordpress | Ubuntu | esm-apps/bionic | * |
Wordpress | Ubuntu | esm-apps/focal | * |
Wordpress | Ubuntu | esm-apps/jammy | * |
Wordpress | Ubuntu | esm-apps/noble | * |
Wordpress | Ubuntu | esm-apps/xenial | * |
Wordpress | Ubuntu | focal | * |
Wordpress | Ubuntu | groovy | * |
Wordpress | Ubuntu | hirsute | * |
Wordpress | Ubuntu | impish | * |
Wordpress | Ubuntu | jammy | * |
Wordpress | Ubuntu | kinetic | * |
Wordpress | Ubuntu | lunar | * |
Wordpress | Ubuntu | mantic | * |
Wordpress | Ubuntu | noble | * |
Wordpress | Ubuntu | oracular | * |
Wordpress | Ubuntu | trusty | * |
Wordpress | Ubuntu | upstream | * |
Wordpress | Ubuntu | xenial | * |
If a message is malformed, it may cause the message to be incorrectly interpreted. Neutralization is an abstract term for any technique that ensures that input (and output) conforms with expectations and is “safe.” This can be done by:
This weakness typically applies in cases where the product prepares a control message that another process must act on, such as a command or query, and malicious input that was intended as data, can enter the control plane instead. However, this weakness also applies to more general cases where there are not always control implications.