{"id":"CVE-2021-24535","state":"PUBLISHED","title":"Light Messages <= 1.0 - CSRF to Stored XSS","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.","publishedAt":"2021-08-16T10:48:29.000Z","updatedAt":"2024-08-03T19:35:20.179Z","severity":null,"assigner":"WPScan","products":["Unknown Light Messages"],"affected":[{"vendor":"Unknown","product":"Light Messages","versions":[{"version":"1.0","status":"affected","lessThanOrEqual":"1.0","versionType":"custom"}]}],"references":["https://wpscan.com/vulnerability/351de889-9c0a-4637-bd06-0e1fe1d7e89f"],"weaknesses":["CWE-79","CWE-352"],"ingestedAt":"2026-10-29T19:48:07.505Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/24xxx/CVE-2021-24535.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-24535","state":"PUBLISHED","datePublished":"2021-08-16T10:48:29.000Z","dateUpdated":"2024-08-03T19:35:20.179Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2021-01-14T00:00:00.000Z"},"containers":{"cna":{"title":"Light Messages <= 1.0 - CSRF to Stored XSS","descriptions":[{"lang":"en","value":"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":[{"vendor":"Unknown","product":"Light Messages","versions":[{"version":"1.0","status":"affected","lessThanOrEqual":"1.0","versionType":"custom"}]}],"references":[{"url":"https://wpscan.com/vulnerability/351de889-9c0a-4637-bd06-0e1fe1d7e89f","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Cross-site Scripting (XSS)","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-352","description":"CWE-352 Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","dateUpdated":"2021-08-16T10:48:29.000Z","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81"},"credits":[{"lang":"en","value":"Vinay Bhuria"}],"source":{"discovery":"UNKNOWN"},"x_generator":"WPScan CVE Generator","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"contact@wpscan.com","ID":"CVE-2021-24535","STATE":"PUBLIC","TITLE":"Light Messages <= 1.0 - CSRF to Stored XSS"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Light Messages","version":{"version_data":[{"version_affected":"<=","version_name":"1.0","version_value":"1.0"}]}}]},"vendor_name":"Unknown"}]}},"credit":[{"lang":"eng","value":"Vinay Bhuria"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":"WPScan CVE Generator","problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]},{"description":[{"lang":"eng","value":"CWE-352 Cross-Site Request Forgery (CSRF)"}]}]},"references":{"reference_data":[{"name":"https://wpscan.com/vulnerability/351de889-9c0a-4637-bd06-0e1fe1d7e89f","refsource":"MISC","url":"https://wpscan.com/vulnerability/351de889-9c0a-4637-bd06-0e1fe1d7e89f"}]},"source":{"discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/351de889-9c0a-4637-bd06-0e1fe1d7e89f","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:35:20.179Z"}}]}}}