Piranha CMS
CVE-2025-67290
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege CMS editor
-
DeliveryNavigate to Page Settings module
-
ExploitInject crafted XSS payload into Excerpt field
-
ExecutionVictim admin or user views affected page
-
ImpactMalicious script executes in victim's browser
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 have sufficient privileges to access the Page Settings module and modify the Excerpt field in Piranha CMS v12.1 - this implies at least contributor or editor-level CMS authentication, which conflicts with the official PR:N CVSS rating and should be independently verified. A second user (victim) must subsequently view or preview the page containing the injected payload, supplying the required user interaction (UI:R). Exploitation is limited to Piranha CMS v12.1 installations where the Page Settings module is accessible to lower-privilege or untrusted authenticated users. Deployments that restrict page editing exclusively to fully trusted administrators substantially reduce realistic risk. No special network conditions are required beyond HTTP/S access to the application. |
| Impact | The official CVSS 3.1 score is 6.1 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. However, the PR:N (no privileges required) metric is inconsistent with the attack requiring access to the CMS Page Settings module, which typically demands at least editor-level authentication - this discrepancy should be verified against the vendor's advisory. EPSS at 0.18% (8th percentile) signals minimal observed exploitation in the wild despite the public POC, suggesting interest has been limited or the authentication barrier is suppressing opportunistic attacks. A POC exists, lowering the technical bar for exploitation, but real-world priority is moderate: the affected product has a limited deployment footprint, impact is limited to confidentiality and integrity at the browser level (C:L/I:L/A:N), and exploitation still requires user interaction (UI:R). Not listed in CISA KEV. Priority should be elevated for deployments exposing the admin panel to internet-facing access or multi-tenant environments with lower-privilege contributors. |
| Exploit ScenarioDerived | A threat actor with contributor or editor-level access to a Piranha CMS v12.1 instance crafts a JavaScript payload and submits it into the Excerpt field of a page via the Page Settings module. Once saved, any administrator or authenticated user who views or previews the affected page triggers execution of the injected script in their browser, enabling session cookie theft, credential harvesting, or forced actions under the victim's identity. A public PoC on GitHub demonstrates this technique, reducing the skill required for exploitation. |
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 script injection via the Excerpt field in the Page Settings module, executing arbitrary JavaScript in the browsers of users who subsequently view the affected page. The vulnerability carries a publicly available proof-of-concept exploit hosted on GitHub, though EPSS remains very low at 0.18% (8th percentile), indicating limited observed exploitation activity. No KEV listing exists, and no patch has been confirmed from available data at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis. Operators running Piranha CMS v12.1 should monitor the official Piranha CMS GitHub repository (https://github.com/PiranhaCMS/piranha.core) for a patched release addressing this stored XSS in the Excerpt field. As a compensating control, restrict access to the Page Settings module so that only fully trusted administrator accounts can edit Excerpt content, reducing the population of principals capable of injecting payloads - note this does not eliminate the risk if admin accounts are compromised. Implementing a strict Content Security Policy (CSP) header that disallows inline script execution can significantly reduce the impact of stored XSS by preventing injected payloads from executing, though misconfigured CSP may break legitimate CMS functionality and must be tested carefully. Additionally, deploying a Web Application Firewall rule to detect and block common XSS payload patterns in POST requests to page settings endpoints can provide detection and partial mitigation. The researcher's PoC at https://github.com/vuquyen03/CVE/tree/main/CVE-2025-67290 can be used to confirm whether a given installation is vulnerable.
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 (cpe:2.3:a:dotnetfoundation:piranha_cms:12.1) is an open-source .NET CMS maintained under the .NET Foundation. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), meaning user-supplied input in the Excerpt field of the Page Settings module is stored without adequate sanitization or output encoding. When the stored content is later rendered in a browser context, the injected payload executes as JavaScript. The Stored XSS variant is more severe than reflected XSS because the payload persists in the database and fires automatically for every user who views the affected page, without requiring the attacker to trick the victim into following a crafted link. Scope change (S:C in the CVSS vector) confirms that the injected script executes in the victim's browser context, potentially crossing trust boundaries.
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
PR:L reflects that editing Page Settings requires authenticated editor access; all other metrics align with stored XSS with scope change and limited browser-level impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
A stored cross-site scripting (XSS) vulnerability in the Page Settings module of Piranha CMS v12.1 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the Excerpt 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 an attacker who can submit content to the Media module to persis
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