Piranha CMS
CVE-2025-61413
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to /manager backend
-
DeliveryCreate page with malicious Markdown block
-
ExploitPayload stored unsanitized
-
ExecutionAdmin views page in manager
-
PersistScript executes in admin session
-
ImpactSession hijack or admin-context actions
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 | Exploitation requires the attacker to create or modify a page through the Piranha CMS /manager/pages administrative component and inject a payload into a Markdown block, meaning interactive access to the manager backend is needed to plant the stored payload. Triggering requires user interaction (UI:R): a second manager user must subsequently view or render the affected page for the script to execute in their browser. The published CVSS marks PR:N (no privileges), but the described workflow of creating a page in the manager implies some level of authenticated/authorized access to that backend - this limiting factor is unresolved in the available data and should be verified with the vendor. Limited to Piranha CMS v12.0 per the NVD CPE. |
| Impact | This is a moderate-severity stored XSS (CVSS 6.1) in Piranha CMS v12.0, and the signals converge on a low-to-moderate real-world priority rather than an emergency. EPSS is low (0.29%, 22nd percentile), it is NOT listed in CISA KEV, and only a public PoC/advisory reference exists that is not verified as working exploit code - so there is no confirmed active exploitation. The CVSS vector claims PR:N (unauthenticated), but the mechanism described - an attacker creating a page in the /manager/pages administrative component and injecting a payload into Markdown blocks - strongly implies the attacker needs authenticated access to the manager backend; this is a conflict between the published vector and the description that should be verified with the vendor, because it materially changes the risk (unauthenticated stored XSS would be far more serious than an authenticated-author-to-admin escalation). The scope-change (S:C) and C:L/I:L reflect script execution in the victim's browser session rather than server compromise. The vendor priority label is 'this_month', consistent with a genuine but non-critical issue. Net: a real vulnerability worth patching on a normal cycle, not a drop-everything event, with the key open question being whether page creation truly requires no privileges. |
| Exploit ScenarioDerived | An attacker with access to the Piranha CMS manager creates or edits a page and embeds a crafted script payload inside a Markdown block, which is stored unsanitized. When another manager user - such as an administrator - later views or previews that page in /manager/pages, the stored script executes in their authenticated browser session, enabling session/cookie theft or actions in the admin context. A public advisory/PoC reference exists but is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Stored cross-site scripting in Piranha CMS 12.0 allows an attacker who can create or edit a page through the /manager/pages administrative component to plant a crafted payload in a Markdown block, which then executes in the browser of another manager user who later views or renders that page. The published CVSS 3.1 score is 6.1, and the impact is scoped to the manager-facing content workflow rather than the public site, with confidentiality and integrity impact limited and no availability impact. Real-world pressure is low at the time of analysis: there is no CISA KEV entry, EPSS is 0.29% (22nd percentile), and only a public PoC reference exists, which is not verified as working exploit code; vuln.today places remediation in the this-month priority band rather than an emergency.
RemediationAI
No vendor-released patch is identified in the available data for this issue, so the primary action is to confirm fixed-version status with the Piranha CMS maintainers via http://piranhacms.org/ and https://github.com/PiranhaCMS/piranha.core, and to track the third-party advisory at https://github.com/Saconyfx/security-advisories/blob/main/CVE-2025-61413/advisory.md for updates. Because the payload is stored, patching alone will not remove content already planted, so audit existing pages for injected script in Markdown blocks and remove or sanitize any suspicious entries. Compensating controls: restrict the /manager path at the reverse proxy or WAF to a small set of trusted source addresses and require strong authentication with MFA for all manager accounts, accepting that this narrows exposure but does not eliminate the risk from an already-authorized author; and consider disabling raw HTML passthrough in Markdown blocks or sanitizing stored Markdown output on render, with the trade-off that authors lose embedded HTML and existing content may render differently. Given the this-month priority band, low EPSS, absence of KEV listing, and only an unverified public PoC reference, these steps can be scheduled in the normal patch cycle rather than under emergency change control.
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
The flaw is CWE-79 cross-site scripting, specifically the stored (persistent) variant, in the .NET-based Piranha CMS content management system. Content authors write page bodies as Markdown blocks, and the manager UI renders that stored content back to administrative users; the trigger for execution is not described in the available sources beyond the injection point being a Markdown block on a page created via /manager/pages, so the exact rendering path and whether raw HTML passthrough or insufficient output encoding in the Markdown pipeline is responsible remains unconfirmed. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N as published) indicates network reachability, low attack complexity, required user interaction, and a scope change, consistent with script from stored content executing in the context of the manager origin and potentially reaching other privileged sessions. The independent assessment differs on privileges, marking PR:L rather than PR:N, because creating or modifying a page in the manager implies some level of authorized access to the backend; that discrepancy is unresolved in the available data and should be confirmed with the vendor. The affected product is pinned by NVD CPE to dotnetfoundation:piranha_cms:12.0.
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
Injection occurs via the /manager page-creation feature, which implies authenticated backend access (PR:L); victim must view the page (UI:R), stored script crosses into the victim's session (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
A stored cross-site scripting (XSS) vulnerability in the /manager/pages component of Piranha CMS v12.0 allows attackers to execute arbitrary web scripts or HTML via creating a page and injecting a crafted payload into the Markdown blocks.
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 v12.1 allows an attacker who can submit content to the Media module to persis
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
VulDB
Exploit-DB