Vulnerabilities in pkg:nuget/Piranha
PACKAGECVE-2025-67291 is a LOW cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Piranha libraries in the NuGet ecosystem. The issue involves piranha has stored cross-site scripting (xss) vulnerability. Remediation is available in the latest vendor maintenance releases.
pkg:nuget/Piranha
Vulnerability advisories affecting package pkg:nuget/Piranha. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-83fp-hh9m-c2jq | CVE-2025-67291 | LOW | Piranha has stored cross-site scripting (XSS) vulnerability |
| GHSA-fw48-7qf9-455m | CVE-2025-67290 | LOW | Piranha has stored cross-site scripting (XSS) vulnerability |
| GHSA-3qcp-9v8c-6jp7 | CVE-2025-61413 | MODERATE | Piranha CMS vulnerable to stored cross-site scripting (XSS) |
| GHSA-456v-f425-8mcv | CVE-2025-57692 | MODERATE | PiranhaCMS stored XSS |
| GHSA-mmx8-vrfg-hfmq | CVE-2024-55341 | MODERATE | Piranha CMS Cross-site Scripting vulnerability |
| GHSA-cmwp-442x-3rcv | CVE-2024-55342 | MODERATE | Piranha CMS Cross-site Scripting vulnerability |
| GHSA-ppq7-88c7-q879 | CVE-2021-25976 | HIGH | Cross-Site Request Forgery in PiranhaCMS |
| GHSA-jvjp-vh27-r9h5 | CVE-2021-25977 | MODERATE | Cross-site Scripting in PiranhaCMS |
CVE-2025-67291 at a Glance
How to Fix CVE-2025-67291
To remediate this vulnerability, upgrade all affected Piranha dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Piranha to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Piranha
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-67291, inspect your project dependencies for Piranha:
inspect dependencies for Piranha
Analyze the terminal output to locate any version of Piranha in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Piranha, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-67291 Affected Piranha Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Piranha
|
NuGet |
≤ 12.0.0
|
|
References
Frequently Asked Questions
What is CVE-2025-67291?
Which Piranha versions are affected?
What version fixes CVE-2025-67291?
Is Piranha affected?
What CWE is associated with CVE-2025-67291?
How can I check NuGet dependencies for CVE-2025-67291?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-83fp-hh9m-c2jq",
"modified" : "2025-12-22T23:01:25Z",
"published" : "2025-12-22T21:30:33Z",
"aliases" : [ "CVE-2025-67291" ],
"summary" : "Piranha has stored cross-site scripting (XSS) vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Piranha"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "12.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67291"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/PiranhaCMS/piranha.core"
}, {
"type" : "WEB",
"url" : "https://github.com/vuquyen03/CVE/tree/main/CVE-2025-67291"
}, {
"type" : "WEB",
"url" : "http://piranha.com"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-22T23:01:25Z",
"nvd_published_at" : "2025-12-22T20:15:45Z"
}
}