{"id":"CVE-2024-6864","summary":"WP Last Modified Info \u003c= 1.9.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via lmt-post-modified-info Shortcode","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-08-12T03:51:13.933149802Z","published":"2024-08-20T04:28:33.896Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6864.json","unresolved_ranges":[{"extracted_events":[{"last_affected":"1.9.0"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"Wordfence","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/wp-last-modified-info/trunk/inc/Core/Frontend/PostView.php#L205"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/changeset/3137253/"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/changeset/3137253/#file23"},{"type":"WEB","url":"https://wordpress.org/plugins/wp-last-modified-info/#developers"},{"type":"WEB","url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/87368d85-04d4-42e6-9ba6-2a1fc3b945a8?source=cve"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6864.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6864"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/iamsayan/wp-last-modified-info","events":[{"introduced":"0"},{"fixed":"13f1f61c01e9a1a97c93fa76c25b72b046447611"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:sayandatta:wp_last_modified_info:*:*:*:*:*:wordpress:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.9.1"}]}}],"versions":["v1.9.0","v1.8.9","v1.8.8","v1.8.7","v1.8.6","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.1","v1.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6864.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}