CVE-2026-13246

GiveWP <= 4.16.0 - Authenticated (Author+) Stored Cross-Site Scripting via 'block_id' Shortcode Attribute

Published Jul 1, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'block_id' (and other) shortcode attributes of the 'givewp_campaign_comments' shortcode in versions up to, and including, 4.16.0. This is due to insufficient input sanitization and output escaping on user supplied attributes in CampaignCommentsShortcode::parseAttributes() and BlockRenderController::render(), where the blockId value is interpolated directly into a single-quoted HTML attribute without esc_attr(). This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Analysis

AI-generated

Technical impact

The GiveWP donation plugin is vulnerable to stored cross‑site scripting through the block_id and other shortcode attributes of the givewp_campaign_comments shortcode. The vulnerability results from insufficient input sanitization and output escaping, allowing an authenticated author‑level attacker to inject arbitrary JavaScript that executes whenever any user views a page containing the injected shortcode. This is a classic input validation flaw rated CWE‑79.

Affected Systems

All installations of the GiveWP – Donation Plugin and Fundraising Platform plugin from StellarWP with version 4.16.0 or earlier are affected. Sites running WordPress that have this plugin installed and use the givewp_campaign_comments shortcode are at risk.

Risk and Exploitability

The CVSS score of 6.4 indicates a medium severity impact, and the EPSS score is not available. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires the attacker to have author or higher level access to the site and the ability to add or edit content that includes the vulnerable shortcode. Once an attacker injects malicious script, all visitors to the affected page are exposed to script execution, compromising confidentiality, integrity, and availability of the site’s content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade GiveWP to the latest available version to receive the official fix for block attribute sanitization.
  • If upgrading immediately is not possible, remove or disable the givewp_campaign_comments shortcode from public pages or restrict author‑level permissions so that only trusted users can add or edit content containing this shortcode.
  • Apply custom filtering by ensuring that block_id and related attributes are properly escaped with esc_attr() before rendering, serving as a temporary safeguard until the official patch is deployed.

Generated by OpenCVE AI on July 1, 2026 at 13:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Stellarwp
Stellarwp givewp
Wordpress-extensions
Wordpress-extensions givewp
Vendors & Products Stellarwp
Stellarwp givewp
Wordpress-extensions
Wordpress-extensions givewp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'block_id' (and other) shortcode attributes of the 'givewp_campaign_comments' shortcode in versions up to, and including, 4.16.0. This is due to insufficient input sanitization and output escaping on user supplied attributes in CampaignCommentsShortcode::parseAttributes() and BlockRenderController::render(), where the blockId value is interpolated directly into a single-quoted HTML attribute without esc_attr(). This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title GiveWP <= 4.16.0 - Authenticated (Author+) Stored Cross-Site Scripting via 'block_id' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 1, 2026, 10:42 AM
Reserved
Jun 24, 2026, 6:03 PM
Status
Deferred
Published
Jul 1, 2026, 5:16 AM
Modified
Jul 1, 2026, 1:56 PM