Skip to main content

Piranha CMS CVE-2025-61413

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-23 cve@mitre.org
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to /manager backend
  2. Delivery
    Create page with malicious Markdown block
  3. Exploit
    Payload stored unsanitized
  4. Execution
    Admin views page in manager
  5. Persist
    Script executes in admin session
  6. Impact
    Session 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

nuget piranha no fix

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

Vendor (mitre) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche open-source .NET CMS, limited enterprise deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:dotnetfoundation:piranha_cms:12.0:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy