Junglewise Threat Intelligence

CVE-2025-67291: Piranha CMS stored XSS in Media module folder name

CVE-2025-67291 · Severity: medium · CVSS 6.1 · Published 2025-12-22

Technologies: Piranha (NuGet). Vendors: NuGet.

Executive brief

Piranha CMS, a content management system used to build and manage websites, contains a security flaw in its media management module. An attacker can inject malicious scripts into the names of media folders, which then run in the browsers of other users who view or edit those folders. This could lead to unauthorized actions being performed in the context of the victim's session, such as data theft or account compromise.

Technical details

A stored cross-site scripting (XSS) vulnerability exists in Piranha CMS v12.1 within the Media module. The root cause is improper neutralization of user-supplied input in the 'Name' field when creating or editing media folders (CWE-79). An authenticated attacker can inject a malicious JavaScript payload into a folder name; this payload is stored on the server and executed in the security context of any user who subsequently views the Media page or interacts with the folder's edit controls. While the CVSS vector provided by CISA-ADP suggests no privileges are required (PR:N), the technical proof-of-concept indicates the attacker typically needs to be an authenticated user with access to the manager interface. Exploitation can lead to session hijacking or unauthorized administrative actions.

Affected products

  • Piranha CMS Piranha CMS 12.1

Timeline

  • 2025-12-22: advisory: Initial disclosure and CVE assignment

References

Related threats