{"id":"CVE-2021-24535","aliases":["CVE-2021-24535"],"related":[],"kind":"vulnerability","state":"published","title":"Light Messages <= 1.0 - CSRF to Stored XSS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2021-08-16T10:48:29.000Z","modified":"2026-06-17T03:40:11.830Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-352"],"affected":[{"ranges":[{"type":"custom","introduced":"1.0","lastAffected":"1.0","status":"affected"}],"vendor":"Unknown","product":"Light Messages","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.0"}],"vendor":"light_messages_project","product":"light_messages","cpe":"cpe:2.3:a:light_messages_project:light_messages:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/351de889-9c0a-4637-bd06-0e1fe1d7e89f","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Vinay Bhuria"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24535","url":"https://www.cve.org/CVERecord?id=CVE-2021-24535","licence":"CVE Terms of Use","modified":"2024-08-03T19:35:20.179Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24535","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24535","licence":"Public domain","modified":"2026-06-17T03:40:11.830Z"}],"updatedAt":"2026-11-25T22:58:03.246Z","epss":{"score":0.00412,"percentile":0.37567,"date":"2026-12-01T12:00:22.000Z"}}