6.1medium
Light Messages <= 1.0 - CSRF to Stored XSS
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
Description
The Light Messages WordPress plugin through 1.0 is lacking CSRF check when updating it's settings, and is not sanitising its Message Content in them (even with the unfiltered_html disallowed). As a result, an attacker could make a logged in admin update the settings to arbitrary values, and set a Cross-Site Scripting payload in the Message Content. Depending on the options set, the XSS payload can be triggered either in the backend only (in the plugin's settings), or both frontend and backend.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Light Messages | from 1.0 up to 1.0 | CVE List |
| light_messages_project light_messages | up to 1.0 | NVD |
All scores
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
The Light Messages WordPress plugin through 1.0 is lacking CSRF check when updating it's settings, and is not sanitising its Message Content in them (even with the unfiltered_html disallowed). As a result, an attacker could make a logged in admin update the settings to arbitrary values, and set a Cross-Site Scripting payload in the Message Content. Depending on the options set, the XSS payload can be triggered either in the backend only (in the plugin's settings), or both frontend and backend.
NVD (es)
El plugin de WordPress Light Messages versiones hasta 1.0, carece de una comprobación CSRF cuando actualiza su configuración, y no sanea el contenido de sus mensajes en ellos (incluso con el unfiltered_html deshabilitado). Como resultado, un atacante podría hacer a un administrador conectado actualizar la configuración con valores arbitrarios, y ajustar una carga útil de tipo Cross-Site Scripting en el contenido del mensaje. Dependiendo de las opciones configuradas, la carga útil de tipo XSS puede desencadenarse sólo en el backend (en la configuración del plugin), o tanto en el frontend como en el backend.
References
| https://wpscan.com/vulnerability/351de889-9c0a-4637-bd06-0e1fe1d7e89f | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24535 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24535 changed 2026-06-17 | Public domain |