{
 "id": "WPSEC-2026-3141",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3141/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3141/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3141/index.md",
 "title": "CubeWP Framework <= 1.1.31 - Authenticated (Subscriber+) Stored Cross-Site Scripting via REST API Custom Field Meta",
 "description": "The CubeWP Framework plugin for WordPress is vulnerable to Stored Cross-Site Scripting via custom field values saved through the REST API (cubewp_user_meta, cubewp_post_meta and cubewp_term_meta) in all versions up to, and including, 1.1.31. This is due to insufficient input sanitization and output escaping: colour field values were placed raw into a style attribute, Business Hours day keys and times were concatenated into markup and attributes, and Google address values were output unescaped. This makes it possible for authenticated attackers, with subscriber-level access and above (for example through /wp/v2/users/me), to inject arbitrary web scripts that execute when a user views author or single pages, or when an administrator opens the attacker's profile under Users.",
 "plugin": {
  "slug": "cubewp-framework",
  "name": "CubeWP Framework",
  "full_name": "CubeWP Framework",
  "wordpress_org": "https://wordpress.org/plugins/cubewp-framework/",
  "advisories_url": "https://wpsec.com/vuln/plugin/cubewp-framework/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/cubewp-framework"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.0.6",
    "from_inclusive": true,
    "to": "1.1.32",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.0.6 before 1.1.32"
  ]
 },
 "introduced_in": "1.0.6",
 "fixed_in": "1.1.32",
 "remediation": "Update to 1.1.32 or later.",
 "fix_released": "2026-11-13T12:51:43+00:00",
 "published": "2026-11-14T13:45:23+00:00",
 "updated": "2026-11-13T15:55:13.418474+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3141/",
  "https://plugins.svn.wordpress.org/cubewp-framework/tags/1.1.32/",
  "https://wordpress.org/plugins/cubewp-framework/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/cubewp-framework",
 "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-11-14"
 }
}