{"id":"CVE-2024-6864","details":"The WP Last Modified Info plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘template’ attribute of the lmt-post-modified-info shortcode in all versions up to, and including, 1.9.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","modified":"2026-04-09T10:30:53.254847Z","published":"2024-08-20T05:15:12.137Z","references":[{"type":"WEB","url":"https://wordpress.org/plugins/wp-last-modified-info/#developers"},{"type":"ADVISORY","url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/87368d85-04d4-42e6-9ba6-2a1fc3b945a8?source=cve"},{"type":"FIX","url":"https://plugins.trac.wordpress.org/browser/wp-last-modified-info/trunk/inc/Core/Frontend/PostView.php#L205"},{"type":"FIX","url":"https://plugins.trac.wordpress.org/changeset/3137253/"},{"type":"FIX","url":"https://plugins.trac.wordpress.org/changeset/3137253/#file23"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/iamsayan/wp-last-modified-info","events":[{"introduced":"0"},{"fixed":"13f1f61c01e9a1a97c93fa76c25b72b046447611"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.9.1"}]}}],"versions":["v1.7.0","v1.7.1","v1.8.0","v1.8.1","v1.8.2","v1.8.3","v1.8.4","v1.8.5","v1.8.6","v1.8.7","v1.8.8","v1.8.9","v1.9.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-6864.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}