Skip to main content

CVE-2021-25976 — Cross-Site Request Forgery in Piranha — CVE Details

HIGH

Cross-Site Request Forgery in PiranhaCMS

Published November 17, 2021Updated November 8, 2023Source: OSV

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.

Check my packages.lock.json

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.

NuGet
Update Piranha to 10.0-alpha1 or later
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).

PackageFixed 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-352
    Cross-Site Request Forgery (CSRF)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

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

CVSS Score
8.1

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.46%
EPSS percentile: 31.5

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

GHSA-ppq7-88c7-q879

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json