CVE-2021-24535
JSON

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 packageVersionsReported by
Unknown Light Messagesfrom 1.0 up to 1.0CVE List
light_messages_project light_messagesup to 1.0NVD

All scores

NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-24535 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24535 changed 2026-06-17Public domain