{
 "id": "WPSEC-2026-1539",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1539/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1539/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1539/index.md",
 "title": "GiveWP <= 4.19.0 - Authenticated (GiveWP Worker+) Stored Cross-Site Scripting via Form Template Primary Color",
 "description": "The GiveWP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Sequoia and Classic form template 'primary_color' setting in all versions up to, and including, 4.19.0, due to insufficient input sanitization and output escaping. The value was saved with sanitize_text_field(), which keeps quotes, and printed raw into an inline style attribute in the form loading view. This makes it possible for authenticated attackers with the GiveWP Worker role or higher to inject arbitrary web scripts that run whenever a user loads the donation form.",
 "plugin": {
  "slug": "give",
  "name": "GiveWP",
  "full_name": "GiveWP – Donation Plugin and Fundraising Platform",
  "wordpress_org": "https://wordpress.org/plugins/give/",
  "advisories_url": "https://wpsec.com/vuln/plugin/give/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/give"
 },
 "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": null,
    "from_inclusive": true,
    "to": "4.19.0.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.19.0.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.19.0.1",
 "remediation": "Update to 4.19.0.1 or later.",
 "fix_released": "2026-10-22T16:29:51+00:00",
 "published": "2026-10-23T16:44:59+00:00",
 "updated": "2026-10-23T09:48:24.618621+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1539/",
  "https://plugins.svn.wordpress.org/give/tags/4.19.0.1/",
  "https://wordpress.org/plugins/give/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/give",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-10-23"
 }
}