Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-12330 Overview
CVE-2025-12330 is a cross-site scripting (XSS) vulnerability [CWE-79] in Willow CMS versions up to 1.4.0. The flaw resides in the Add Post Page component, reachable at /admin/articles/add. Attackers can manipulate the title or body parameters to inject arbitrary script content. Exploitation requires an authenticated user with high privileges and user interaction. Public exploit details have been released, increasing the likelihood of opportunistic abuse against unpatched deployments.
Critical Impact
Authenticated attackers can inject scripts through post creation fields, enabling session hijacking, credential theft, or administrative action forgery against other CMS users who view the affected content.
Affected Products
- Matthewdeaves Willow CMS versions through 1.4.0
- Willow CMS /admin/articles/add endpoint (Add Post Page component)
- Deployments exposing the admin interface to multi-user environments
Discovery Timeline
- 2025-10-27 - CVE-2025-12330 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-12330
Vulnerability Analysis
The vulnerability is a stored cross-site scripting flaw in the Willow CMS administrative interface. The /admin/articles/add endpoint accepts title and body parameters when creating new posts. The application fails to sanitize or encode these inputs before rendering them in subsequent views. An authenticated author or administrator can submit crafted markup that executes in the browsers of other users viewing the post or preview.
The attack is network-reachable and does not require local access. However, exploitation requires high privileges within the CMS and user interaction from a victim account. Impact is limited to integrity of the rendered page context. Confidentiality and availability of the underlying host are not directly affected by this specific weakness.
See the GitHub Issue Discussion for technical background from the maintainer.
Root Cause
The root cause is missing output encoding on user-supplied post content. The title and body fields flow from the article submission form into the template rendering layer without HTML entity escaping. This is a classic instance of [CWE-79] Improper Neutralization of Input During Web Page Generation.
Attack Vector
An attacker with valid administrative credentials navigates to /admin/articles/add and submits a new article. The attacker embeds script payloads in the title or body fields. When any authenticated user later views the article in the admin listing, preview, or public site, the payload executes under the origin of the Willow CMS instance. The stored nature of the injection means the payload persists until the malicious record is removed.
No verified exploitation code is published in the enriched dataset. Refer to the VulDB entry for additional public technical detail.
Detection Methods for CVE-2025-12330
Indicators of Compromise
- Article records in the Willow CMS database containing <script>, onerror=, onload=, or javascript: sequences in the title or body columns
- Unexpected outbound requests from admin browser sessions to attacker-controlled hosts shortly after viewing a post
- New or modified administrative accounts created during time windows aligning with post views
Detection Strategies
- Query the CMS database directly for article rows containing HTML event handlers or <script tags in text fields
- Review web server access logs for POST requests to /admin/articles/add followed by admin session anomalies
- Deploy Content Security Policy (CSP) reporting to capture inline script violations originating from admin pages
Monitoring Recommendations
- Alert on administrative account activity from unusual IP addresses or user agents
- Monitor for privilege changes and new user creation events immediately following article publication
- Log and review all article create and edit operations, correlating author identity with content changes
How to Mitigate CVE-2025-12330
Immediate Actions Required
- Audit all existing articles in Willow CMS for injected HTML or JavaScript payloads and sanitize affected records
- Restrict access to the /admin/articles/add endpoint to trusted authors only and enforce strong authentication
- Deploy a strict Content Security Policy that blocks inline scripts across admin routes
Patch Information
No fixed version is documented in the enriched CVE data at the time of publication. Monitor the Willow CMS GitHub repository and the VulDB advisory for patch releases. Upgrade to a version above 1.4.0 once the maintainer publishes a remediated release.
Workarounds
- Apply a web application firewall rule that rejects requests to /admin/articles/add containing <script, on*=, or javascript: patterns in POST bodies
- Reduce the number of high-privilege CMS accounts and rotate credentials for any potentially exposed users
- Serve admin pages with a restrictive CSP header such as default-src 'self'; script-src 'self' to neutralize injected inline scripts
# Example nginx configuration adding a restrictive CSP to the admin path
location /admin/ {
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "no-referrer" always;
proxy_pass http://willow_backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

