{
 "id": "WPSEC-2026-4624",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4624/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4624/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4624/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4624.json",
 "title": "Latest Post Shortcode <= 14.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Generator Modal",
 "description": "The Latest Post Shortcode plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via the shortcode generator modal in all versions up to, and including, 14.3.0. The cause is that the block's shortcode attribute is written into the page with jQuery's .html(). That attribute can be read as decoded text from block markup saved in the pre-13.0.0 format, so it bypasses the attribute sanitization. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts that execute when a higher-privileged user opens the shortcode generator modal for the affected block.",
 "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": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "14.3.0",
    "from_inclusive": true,
    "to": "14.3.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 14.3.0 before 14.3.1"
  ]
 },
 "introduced_in": "14.3.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-4624/",
  "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": "None seen",
  "as_of": "2026-12-04"
 }
}