CVE-2024-6864
MEDIUM
5.4
CVSS 3.1
Description
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.
Affected WordPress components
-
WP Last Modified Info Plugin · wp-last-modified-infoUp to and including 1.9.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- infosatech WP Last Modified Info — Up to and including 1.9.0
- sayandatta wp_last_modified_info — Before 1.9.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wp-last-modified-info/trunk/inc/Core/Frontend/PostView.php#L205 Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3137253/ Patch
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3137253/#file23 Patch
- wordpress.org https://wordpress.org/plugins/wp-last-modified-info/#developers Product
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/87368d85-04d4-42e6-9ba6-2a1fc3b945a8?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record