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.
Published: 2026-07-01
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Wed, 01 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 01 Jul 2026 05:00:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-01T10:42:12.021Z

Reserved: 2026-06-24T18:03:05.183Z

Link: CVE-2026-13246

cve-icon Vulnrichment

Updated: 2026-07-01T10:33:57.441Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T13:15:05Z

Weaknesses
  • CWE-79

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