Skip to main content

Piranha CMS CVE-2025-67291

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
    Obtain Media module write access
  2. Delivery
    Inject XSS payload into Name field
  3. Exploit
    Payload persists in CMS database
  4. Execution
    Victim admin views Media listing
  5. Persist
    Malicious script executes in admin browser
  6. Impact
    Session 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.

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

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

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

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.

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

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