CVE-2021-25976: Cross-Site Request Forgery in PiranhaCMS
8.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.28793%
CWE
Published
11/17/2021
Updated
2/1/2023
KEV Status
No
Technology
C#
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
Piranha | nuget | >= 4.0.0-alpha1, <= 9.2.0 | 10.0-alpha1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from state-changing operations (delete/approve/unapprove) being exposed via HTTP GET endpoints without anti-forgery token validation. The GitHub commit shows these endpoints were modified to use HTTP DELETE/POST methods and decorated with [AutoValidateAntiforgeryToken]. The PoC demonstrates CSRF via GET requests, and the patch explicitly changes HTTP verbs and adds CSRF protection, confirming the original vulnerability vectors.