{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3844",
 "modified": "2026-11-25T07:43:53Z",
 "published": "2026-11-25T07:43:53Z",
 "summary": "Latest Posts <= 1.4.5 - Authenticated (Administrator+) Stored Cross-Site Scripting via Widget Title and Count Settings",
 "details": "The Latest Posts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the widget's 'title' and 'count' settings in all versions up to, and including, 1.4.5, due to insufficient output escaping. The values are only passed through strip_tags() when saved and are printed unescaped into input value attributes in the widget settings form, so quote characters can break out of the attribute. This makes it possible for authenticated attackers with administrator-level access and above to inject arbitrary web scripts that run when another user opens the widget settings form. This only matters on multisite installations or where unfiltered_html has been disabled.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "latest-posts"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.5.0"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.5.0"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3844/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/latest-posts/tags/1.5.0/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/latest-posts/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3844/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
