{
 "id": "WPSEC-2026-4622",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4622/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4622/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4622/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4622.json",
 "title": "Latest Post Shortcode <= 14.3.0 - Unauthenticated Reflected Cross-Site Scripting via Pagination AJAX Action",
 "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.",
 "plugin": {
  "slug": "latest-post-shortcode",
  "name": "Latest Post Shortcode",
  "full_name": "Latest Post Shortcode",
  "wordpress_org": "https://wordpress.org/plugins/latest-post-shortcode/",
  "advisories_url": "https://wpsec.com/vuln/plugin/latest-post-shortcode/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/latest-post-shortcode"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.1,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "12.0.0",
    "from_inclusive": true,
    "to": "14.3.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 12.0.0 before 14.3.1"
  ]
 },
 "introduced_in": "12.0.0",
 "fixed_in": "14.3.1",
 "remediation": "Update to 14.3.1 or later.",
 "fix_released": "2026-12-03T14:46:17+00:00",
 "published": "2026-12-04T14:50:37+00:00",
 "updated": "2026-12-04T09:16:50.103925+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/latest-post-shortcode",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-12-04"
 }
}