{"id":"CVE-2021-25977","aliases":["EUVD-2021-2218","GHSA-jvjp-vh27-r9h5"],"status":"published","title":"Piranha CMS - Stored XSS in Page Title","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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.0065,"percentile":0.51467,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-10-25T13:10:10Z","modified":"2026-10-20T10:54:34Z","fixes":[{"ecosystem":"NuGet","package":"Piranha","fixed_in":["9.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"NuGet","package":"Piranha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"9.2.0"}]}]},{"source":"osv","ecosystem":"NuGet","package":"Piranha","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"9.2.0"}]}],"versions":["7.0.0","7.0.1","7.0.2","7.0.3","7.1.0","8.0.0","8.0.1","8.0.2","8.1.0","8.2.0","8.3.0","8.4.0","8.4.1","8.4.2","9.0.0","9.0.0-beta1","9.0.0-rc1","9.0.0-rc2","9.0.1","9.1.0","9.1.0-alpha1","9.1.0-alpha2","9.1.0-beta1","9.1.1"]}],"products":[{"vendor":"dotnetfoundation","product":"piranha_cms"},{"vendor":"piranhacms","product":"piranha"}],"references":[{"url":"https://github.com/PiranhaCMS/piranha.core/commit/543bc53c7dbd28c793ec960b57fb0e716c6b18d7","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25977","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25977","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jvjp-vh27-r9h5"},{"url":"https://github.com/PiranhaCMS/piranha.core","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-25977","title":"Piranha CMS - Stored XSS in Page Title","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.","status":"published","published":"2021-10-25T13:10:10Z","modified":"2025-04-30T15:52:58.659Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:59.802172Z"}],"euvd":[{"id":"EUVD-2021-2218","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.","status":"published","published":"2021-10-25T13:10:10Z","modified":"2025-04-30T15:52:58Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:51:59.026225Z"}],"ghsa":[{"id":"GHSA-jvjp-vh27-r9h5","title":"Cross-site Scripting in PiranhaCMS","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. ","status":"published","published":"2021-10-27T18:53:03Z","modified":"2023-02-01T05:06:14Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:38.281533Z"}],"nvd":[{"id":"CVE-2021-25977","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.","status":"published","published":"2021-10-25T13:15:07.8Z","modified":"2026-06-17T03:42:42.977Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:00.137719Z"}],"osv":[{"id":"CVE-2021-25977","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.","status":"published","published":"2021-10-25T13:15:07.8Z","modified":"2026-10-20T10:54:34.249190558Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-jvjp-vh27-r9h5","title":"Cross-site Scripting in PiranhaCMS","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. ","status":"published","published":"2021-10-27T18:53:03Z","modified":"2023-11-08T04:05:19.614848Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:51.10002Z"}]}}
