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

- Severity: Medium 5.4 (CVSS:3.1, scored by Mend) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2021-10-25T13:10:10.000Z
- Modified: 2026-06-17T03:42:42.977Z
- Also known as: GHSA-jvjp-vh27-r9h5
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Mend

## 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.

(As written by CVE List.)

## Affected

- PiranhaCMS Piranha: from 7.0.0 before unspecified; from unspecified up to 9.1.1
- Piranha (NuGet): from 7.0.0 before 9.2.0
- dotnetfoundation piranha_cms: from 7.0.0 up to 9.1.1

## Every score

- Mend: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/PiranhaCMS/piranha.core/commit/543bc53c7dbd28c793ec960b57fb0e716c6b18d7> (patch, third-party-advisory, web)
- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25977> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25977> (advisory)
- <https://github.com/PiranhaCMS/piranha.core> (package)

## Sources

- CVE List: [CVE-2021-25977](https://www.cve.org/CVERecord?id=CVE-2021-25977), CVE Terms of Use, modified 2025-04-30
- GitHub Advisory Database: [GHSA-jvjp-vh27-r9h5](https://github.com/advisories/GHSA-jvjp-vh27-r9h5), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-25977](https://nvd.nist.gov/vuln/detail/CVE-2021-25977), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25977 · Whole record: https://cve.day/CVE-2021-25977.json · Rebuilt by cve.day 2026-11-25T22:58:04.741Z
