CVE-2021-25976 — Cross-Site Request Forgery in Piranha — CVE Details
Cross-Site Request Forgery in PiranhaCMS
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.46%). Schedule for your next planned update.
Does your project use an affected Piranha version?
Paste your packages.lock.json to check it for CVE-2021-25976 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
In PiranhaCMS, versions 4.0.0-alpha1 to 9.2.0 are vulnerable to cross-site request forgery (CSRF) when performing various actions supported by the management system, such as deleting a user, deleting a role, editing a post, deleting a media folder etc., when an ID is known.
Advisory Timeline
- First published November 17, 2021 (1834 days ago).
- Last revised November 8, 2023 — 720 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Piranha --version 10.0-alpha1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: NuGet (1).
| Package | Fixed In |
|---|---|
| Piranha NuGet · Affected: 4.0.0, 4.0.0-alpha1, 4.0.0-alpha3, 4.0.0-alpha4 (+70 more) | 10.0-alpha1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-352Cross-Site Request Forgery (CSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2021-25976?
- Cross-Site Request Forgery in PiranhaCMS. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2021-25976?
- CVE-2021-25976 affects Piranha. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-25976 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 31.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-102529HIGH
HtmlSanitizer: CSS Removal DoS
- CVE-2026-63184HIGH
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion
- CVE-2025-61413MEDIUM
Piranha CMS vulnerable to stored cross-site scripting (XSS)
- CVE-2025-57692MEDIUM
PiranhaCMS stored XSS
- CVE-2025-67291LOW
Piranha has stored cross-site scripting (XSS) vulnerability
- CVE-2025-67290LOW
Piranha has stored cross-site scripting (XSS) vulnerability