CVE-2021-25977
MEDIUM 5.4CVSS 3.1Cross-site Scripting in PiranhaCMS
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.
- Published
- 25 Oct 2021
- Last modified
- 17 Jun 2026
- Assigned by
- vulnerabilitylab@mend.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-jvjp-vh27-r9h5
- Sources
- NVDJSONOSV GHSA-jvjp-vh27-r9h5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | vulnerabilitylab@mend.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dotnetfoundation | piranha_cmscpe:2.3:a:dotnetfoundation:piranha_cms:*:*:*:*:*:*:*:* |
>= 7.0.0, <= 9.1.1 | |
| OSV | NuGet | Piranha | >= 7.0.0, < 9.2.0 | 9.2.0 |
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
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 25 Oct 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Oct 2021)