Piranha CMS
CVE-2025-67291
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Media module write access
-
DeliveryInject XSS payload into Name field
-
ExploitPayload persists in CMS database
-
ExecutionVictim admin views Media listing
-
PersistMalicious script executes in admin browser
-
ImpactSession token or credentials exfiltrated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to submit or modify a media item's Name field within the Piranha CMS Media module. In a typical CMS deployment this requires at minimum contributor-level authentication; however, the submitted CVSS vector asserts PR:N (no privileges required), which conflicts with standard CMS access models - defenders must verify whether their deployment exposes the Media Name field to unauthenticated users before relying on authentication as a mitigating factor. A victim user, typically an administrator, must subsequently view the Media listing page for the stored payload to execute (UI:R condition). No non-default configuration is required - any standard Piranha CMS v12.1 installation with the Media module enabled is potentially within scope. Exploitation is bounded to version 12.1 specifically; coverage of other versions is unconfirmed. |
| Impact | The CVSS 6.1 (Medium) score reflects limited confidentiality and integrity impact (C:L/I:L) and the requirement for victim interaction (UI:R), which constrain blast radius. The scope change (S:C) and network vector (AV:N/AC:L) elevate the base score and indicate cross-context impact. However, the provided PR:N metric warrants scrutiny: submitting content to a CMS Media module typically requires at least contributor-level authentication, and PR:N may overstate attacker accessibility - defenders should verify whether the Media Name field is reachable without authentication in their specific deployment. EPSS of 0.18% at the 8th percentile indicates low automated exploitation probability, and the absence of a CISA KEV listing confirms this is not a current mass-exploitation target. The publicly available PoC on GitHub is a meaningful escalation signal that could accelerate exploitation attempts against internet-exposed instances. Overall, this is a real but lower operational priority unless the attacker can inject payloads without authentication, in which case risk escalates significantly. |
| Exploit ScenarioDerived | An attacker with access to the Piranha CMS Media module submits a media item whose Name field contains a crafted JavaScript payload designed to exfiltrate session cookies or perform authenticated actions. When an administrator or authenticated user subsequently navigates to the Media management listing, the stored payload executes silently in their browser within the application's security context. A public PoC is available on GitHub, meaning this scenario can be replicated with minimal technical skill. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Stored cross-site scripting in Piranha CMS v12.1 allows an attacker who can submit content to the Media module to persist malicious JavaScript in the Name field, which then executes in victims' browsers when the Media section is viewed. A publicly available proof-of-concept exploit exists on GitHub, meaningfully lowering the barrier to exploitation. Despite the network-accessible attack vector and cross-context scope change (S:C), EPSS sits at 0.18% (8th percentile) with no CISA KEV listing, indicating limited real-world exploitation of this niche platform at time of analysis.
RemediationAI
No vendor-released patch is identified at time of analysis - the only available reference is the researcher PoC, and no vendor advisory or fixed version number has been confirmed. As a compensating control, restrict access to the Piranha CMS Media module to trusted, authenticated users and enforce the principle of least privilege so that untrusted contributors cannot upload or rename media items; note this may limit legitimate content workflows. Implementing a Web Application Firewall rule to detect and block HTML or script tags in the Name field can reduce exposure, though such rules may produce false positives on media names containing angle brackets or special characters. Organizations should actively monitor the Piranha CMS GitHub repository for a patched release and apply it promptly upon availability. If the Media upload endpoint is exposed without authentication, it should be restricted to authenticated sessions immediately as a priority measure.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in nuget
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Piranha CMS is an open-source .NET CMS maintained under the .NET Foundation (CPE: cpe:2.3:a:dotnetfoundation:piranha_cms:12.1:*:*:*:*:*:*:*). The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored (persistent) XSS variant. User-supplied input in the Media module's Name field is stored without adequate sanitization or output encoding, so when any user with access to the Media admin interface subsequently views the listing, the injected payload executes in their browser context. The scope change metric (S:C) reflects that a payload injected in one security context (the content submission layer) executes in a different context - typically an authenticated administrator session - which is characteristic of stored XSS in CMS admin panels.
Know when Piranha Cms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CMS Media module write access typically requires authenticated contributor access (PR:L, not PR:N); all other metrics align with stored XSS scope-change characteristics.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
A stored cross-site scripting (XSS) vulnerability in the Media module of Piranha CMS v12.1 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the Name field.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
More in Piranha Cms
View allPiranhaCMS 12.0 allows stored XSS in the Text content block of Standard and Standard Archive Pages via /manager/pages, e
Stored cross-site scripting in Piranha CMS 12.0 allows an attacker who can create or edit a page through the /manager/pa
Stored cross-site scripting in Piranha CMS v12.1 allows script injection via the Excerpt field in the Page Settings modu
A stored cross-site scripting (XSS) vulnerability in Piranha CMS 11.1 allows remote attackers to execute arbitrary JavaS
A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /m
In PiranhaCMS, versions 4.0.0-alpha1 to 9.2.0 are vulnerable to cross-site request forgery (CSRF) when performing variou
In PiranhaCMS, versions 7.0.0 to 9.1.1 are vulnerable to stored XSS due to the page title improperly sanitized. Rated me
Missing authorization in the Piranha CMS manager API (Piranha.Manager LanguageApiController) lets any authenticated mana
NVD
CVE.org
EPSS
GitHub
Exploit-DB