CVE-2026-5510
WordPress Analyse et atténuation des vulnérabilités

Aperçu

CVE-2026-5510 is a Stored Cross-Site Scripting (XSS) vulnerability in the GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress. It affects all versions up to and including 4.14.4, and is caused by insufficient input sanitization and output escaping on the continue_button_title and display_style attributes of the give_form shortcode. Authenticated attackers with Contributor-level access or above can inject arbitrary web scripts into pages that execute when any user visits the affected page. It carries a CVSS v3.1 base score of 6.4 (Medium) (GitHub Advisory, Wordfence).

Détails techniques

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation – Cross-site Scripting). The vulnerable shortcode attributes continue_button_title and display_style are passed through WordPress's sanitize_text_field() function, which strips HTML tags but does not perform HTML attribute encoding. When these values are subsequently rendered into HTML data attributes without proper escaping, an attacker can break out of the attribute context and inject executable JavaScript. Exploitation requires only Contributor-level WordPress authentication and no user interaction beyond a victim visiting the injected page (GitHub Advisory, Wordfence). The vulnerable code paths are located in includes/shortcodes.php and src/DonationForms/Shortcodes/GiveFormShortcode.php (WordPress Trac).

Impact

Successful exploitation allows an authenticated contributor to persistently inject malicious scripts into WordPress pages served to all site visitors. Consequences include session cookie theft, credential harvesting, unauthorized page content modification, and redirection of users to malicious external sites. While availability is not directly impacted, the confidentiality and integrity risks extend to any user who visits an injected page, including administrators whose elevated session tokens could be stolen to enable full site takeover (GitHub Advisory, Wordfence).

Exploitabilité

As of the disclosure date (August 28, 2026), there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation. The EPSS score is 0.0, indicating a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum Contributor-level WordPress authentication, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence, GitHub Advisory).

Étapes d’exploitation

  1. Reconnaissance: Identify WordPress sites running GiveWP plugin version 4.14.4 or earlier using tools like WPScan or by inspecting plugin metadata in page source.
  2. Obtain Contributor access: Register or compromise a WordPress account with at least Contributor-level privileges on the target site.
  3. Create or edit a page/post: As a Contributor, create a new post or edit an existing one that includes the give_form shortcode.
  4. Inject malicious payload: Insert a crafted shortcode with an XSS payload in the continue_button_title or display_style attribute, e.g., [give_form id="1" continue_button_title='x" onmouseover="alert(document.cookie)' display_style='modal']. Because sanitize_text_field() does not encode HTML attribute metacharacters, the payload survives sanitization.
  5. Publish the content: Submit the post for review or publish it directly (depending on role capabilities).
  6. Trigger execution: When any site visitor (including administrators) loads the page containing the injected shortcode, the malicious script executes in their browser, enabling session token theft or further malicious actions (GitHub Advisory, Wordfence).

Indicateurs de compromis

  • Logs: WordPress post/page content containing give_form shortcodes with unusual attribute values including JavaScript event handlers (e.g., onmouseover, onerror, onfocus) or <script> fragments; audit log entries showing Contributor-level users creating or editing pages with give_form shortcodes.
  • File System: Unexpected modifications to post content in the WordPress database (wp_posts table) containing encoded or obfuscated JavaScript within give_form shortcode attributes.
  • Network: Outbound requests from victim browsers to attacker-controlled domains following page visits; unusual POST requests to external endpoints originating from site visitor sessions.
  • Process/Application: Browser console errors or unexpected redirects reported by users visiting pages containing give_form shortcodes.

Atténuation et solutions de contournement

Update the GiveWP plugin to a version newer than 4.14.4, which includes the fix applied in changeset 3501918 (WordPress Trac). As interim mitigations: restrict Contributor-level role assignment to only trusted users; consider disabling the give_form shortcode if it is not actively required; and deploy Web Application Firewall (WAF) rules to detect and block common XSS payloads in shortcode attributes. Regularly audit WordPress user roles and permissions to minimize the attack surface (Wordfence).

Ressources additionnelles


SourceCe rapport a été généré à l’aide de l’IA

Apparenté WordPress Vulnérabilités:

Identifiant CVE

Sévérité

Score

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-6128NONEN/A
  • all-in-one-wp-migration-unlimited-extension
NonOuiAug 28, 2026
CVE-2026-5510NONEN/A
  • give
NonOuiAug 28, 2026
CVE-2026-79996NONEN/A
  • user-registration
NonOuiAug 28, 2026
CVE-2026-79995NONEN/A
  • user-registration
NonOuiAug 28, 2026
CVE-2026-79706NONEN/A
  • breeze
NonOuiAug 28, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité dans le cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.

Demander une évaluation

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités