Latest Post Shortcode <= 14.3.0 - Unauthenticated Reflected Cross-Site Scripting via Pagination AJAX Action
- ID
- WPSEC-2026-4622
- Plugin
- Latest Post Shortcode (latest-post-shortcode)
- Affected
- from 12.0.0 before 14.3.1
- Remediation
- Update to 14.3.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-04
- Attack surface
- Latest Post Shortcode on WPSec AttackSurface
- Fix released
- Published
Description
The Latest Post Shortcode plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'titletag' argument of the lps_navigate_to_page AJAX action in all versions up to, and including, 14.3.0. The cause is that arbitrary shortcode arguments are accepted in the request, and the slider output prints the title tag in the tag-name position with only esc_attr() and no validation. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute if they can trick a user into performing an action such as submitting a crafted form request.
References
- https://wpsec.com/vuln/WPSEC-2026-4622/
- https://plugins.svn.wordpress.org/latest-post-shortcode/tags/14.3.1/
- https://wordpress.org/plugins/latest-post-shortcode/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS