Piranha CMS Stored Cross-Site Scripting Vulnerability in Page Settings Module

Vulnerability

A stored cross-site scripting vulnerability has been identified in Piranha CMS version 12.1, specifically within the Page Settings module. This vulnerability allows attackers to execute arbitrary web scripts or HTML by injecting a crafted payload into the Excerpt field. The injected script is executed when the page is previewed or accessed publicly, exploiting the lack of proper input sanitization.

Impact

Exploitation of this vulnerability allows for the execution of injected JavaScript in the context of the victim's browser, potentially leading to the exposure of sensitive user information and abuse of trusted content rendered by the Piranha CMS frontend.

Reproduction

To reproduce this vulnerability, log into Piranha CMS with an account that has permission to create or edit pages. Navigate to the Page Editor and either create a new page or edit an existing one. Inject a JavaScript payload into the Excerpt field, which is located in the page settings. After saving the page, either preview it or publish it and access it publicly. The injected JavaScript will execute in the browser, demonstrating the stored cross-site scripting vulnerability.

Added: Dec 22, 2025, 8:18 PM
Updated: Dec 22, 2025, 9:19 PM

Vulnerability Rating

Custom Algorithm
spread
1.6
impact
5.4
exploitability
6.5
remediation
0.0
relevance
1.6
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.