PT-2021-16056 · WordPress · Light Messages Wordpress Plugin
Vinay Bhuria
·
Published
2021-08-16
·
Updated
2021-08-23
·
CVE-2021-24535
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
The Light Messages WordPress plugin version 1.0
Description
The issue is related to the lack of a CSRF check when updating settings and the failure to sanitize Message Content, even when unfiltered html is disallowed. This allows an attacker to make a logged-in admin update settings to arbitrary values and set a Cross-Site Scripting payload in the Message Content. The XSS payload can be triggered in the backend only or in both the frontend and backend, depending on the options set.
Recommendations
For version 1.0, consider disabling the plugin's settings update functionality until a patch is available to prevent arbitrary updates and Cross-Site Scripting attacks. Restrict access to the plugin's settings to minimize the risk of exploitation. Avoid using the Message Content field in the plugin's settings until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
XSS
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Light Messages Wordpress Plugin