Skip to main content

Piranha CMS CVE-2025-67290

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-22 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 as low-privilege CMS editor
  2. Delivery
    Navigate to Page Settings module
  3. Exploit
    Inject crafted XSS payload into Excerpt field
  4. Execution
    Victim admin or user views affected page
  5. Impact
    Malicious 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.

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

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

Alert me

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

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

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

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

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.

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche .NET CMS with limited enterprise adoption
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.2%
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.1:*:*:*:*:*:*:*

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