{"schemaVersion":3,"id":"CVE-2026-97643","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `givewp_campaign_grid` shortcode in versions up to, and including, 4.17.0 This is due to insufficient input sanitization and output escaping on user supplied shortcode attributes (`filter_by`, `layout`, `sort_by`, `order_by`) in the CampaignGridShortcode::parseAttributes() function combined with the render template emitting `json_encode($attributes)` inside a single-quoted HTML attribute without esc_attr() — json_encode() does not escape single quotes by default, so a `'` in an attribute value breaks out of the enclosing attribute. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","dates":{"published":"2026-10-10T05:31:04.713Z","modified":"2026-10-11T12:23:57.247Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00212,"percentile":0.10944,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-10T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00212,"percentile":0.10944}],"last30":[{"date":"2026-10-10T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00212,"percentile":0.10944}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"stellarwp","product":"givewp – donation plugin and fundraising platform","name":"GiveWP – Donation Plugin and Fundraising Platform","label":"givewp – donation plugin and fundraising platform","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.17.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.17.0","eol":null,"hubHref":"/vendor/stellarwp/givewp_-_donation_plugin_and_fundraising_platform"},{"vendor":"wordpress","product":"give","name":"GiveWP – Donation Plugin and Fundraising Platform","label":"give","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.17.0 (fixed in 4.18.0)","noFixRecorded":false,"fixedIn":"4.18.0"}],"versionsText":"≤ 4.17.0 (fixed in 4.18.0)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/cc825b2f-43d0-42f0-972d-7d361f7e0b59?source=cve","label":"www.wordfence.com/threat-intel/vulnerabilities/id/cc825b2f-43d0-42f0-972d-7d361f7e0b59?source=cve","hostname":"www.wordfence.com","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/give/tags/4.17.0/src/Campaigns/Blocks/CampaignGrid/render.php#L6","label":"plugins.trac.wordpress.org/browser/give/tags/4.17.0/src/Campaigns/Blocks/CampaignGrid/render.php","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/give/tags/4.17.0/src/Campaigns/Shortcodes/CampaignGridShortcode.php#L91","label":"plugins.trac.wordpress.org/browser/…","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/give/tags/4.17.0/src/Campaigns/Shortcodes/CampaignGridShortcode.php#L22","label":"plugins.trac.wordpress.org/browser/…","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/give/tags/4.17.0/src/Campaigns/Shortcodes/ShortcodeRenderController.php#L65","label":"plugins.trac.wordpress.org/browser/…","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/give/tags/4.17.0/src/Campaigns/Actions/RegisterCampaignShortcodes.php#L28","label":"plugins.trac.wordpress.org/browser/…","hostname":"plugins.trac.wordpress.org","tags":[]},{"url":"https://github.com/impress-org/givewp/releases/tag/4.18.0","label":"github.com/impress-org/givewp/releases/tag/4.18.0","hostname":"github.com","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/cc825b2f-43d0-42f0-972d-7d361f7e0b59","label":"www.wordfence.com/threat-intel/vulnerabilities/id/cc825b2f-43d0-42f0-972d-7d361f7e0b59","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-10T05:31:04.713Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-11T12:23:57.247Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T19:47:35.005Z","stale":false,"partial":false}}