Home / getkirby / kirby / CVE-2021-41252
CVE-2021-41252: is it exploited, and which versions of getkirby kirby are affected and fixed?
CVE-2021-41252 is a cross-site scripting (XSS) vulnerability in getkirby kirby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: getkirby/cms from 3.5.0 before 3.5.8 (GitHub advisory GHSA-x7j7-qp7j-hw3q). Fixed in 3.5.8 (GitHub advisory GHSA-x7j7-qp7j-hw3q). Severity: High (7.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-41252?
Cross-site scripting (XSS) from writer field content in the site frontend
Kirby is an open source file structured CMS ### Impact Kirby's writer field stores its formatted content as HTML code. Unlike with other field types, it is not possible to escape HTML special characters against cross-site scripting (XSS) attacks, otherwise the formatting would be lost. If the user is logged in to the Panel, a harmful script can for example trigger requests to Kirby's API with the permissions of the victim. Because the writer field did not securely sanitize its contents on save, it was possible to inject malicious HTML code into the content file by sending it to Kirby's API directly without using the Panel. This malicious HTML code would then be displayed on the site frontend and executed in the browsers of site visitors and logged in users who are browsing the site. Attackers must be in your group of authenticated Panel users in order to exploit this weakness. Users who do not make use of the writer field are not affected. This issue has been patched in Kirby 3.5.8 by sanitizing all writer field contents on the backend whenever the content is modified via Kirby's API. Please update to this or a later version to fix the vulnerability.
From the CVE record by GitHub_M, last updated August 4, 2024, 03:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| getkirby | kirby | >= 3.5.0, < 3.5.8 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | getkirby/cms | >= 3.5.0, < 3.5.8 | 3.5.8 | GHSA-x7j7-qp7j-hw3q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 16, 2021. Summary: Cross-site scripting (XSS) from writer field content in the site frontend.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| getkirby | kirby | from 3.5.0 through 3.5.7.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:08 UTC.
How severe is CVE-2021-41252?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N | GitHub_M |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
| Low 2.1 | CVSS 2.0 | AV:N/AC:H/Au:S/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-41252 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.93% probability of exploitation activity in the next 30 days, percentile 61.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/getkirby/kirby/security/advisories/GHSA-x7j7-qp7j-hw3q x_refsource_CONFIRM
- https://github.com/getkirby/kirby/commit/25fc5c6b330442e6433c99befc688f3698c5d1fc x_refsource_MISC
- https://github.com/getkirby/kirby/releases/tag/3.5.8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 15, 2021
- Published
- November 16, 2021, 18:05 UTC
- CVE record updated
- August 4, 2024, 03:08 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 04:08 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect kirby?
- Nov 22, 2026CVE-2026-134765 getkirby kirby: time-of-check time-of-use race condition
- Oct 12, 2026CVE-2026-108924 getkirby Kirby: authorization bypass through a user-controlled key (IDOR)
- Aug 31, 2026CVE-2026-75594 getkirby kirby: path traversal (reading or writing files outside the intended folder)
- Aug 31, 2026CVE-2026-75592 getkirby kirby: path traversal (reading or writing files outside the intended folder)
- Aug 31, 2026CVE-2026-71415 getkirby kirby: missing authorization
- Aug 7, 2026CVE-2026-69127 getkirby kirby: system information exposed
- Jul 16, 2026CVE-2026-45368 getkirby kirby: cross-site scripting (XSS)
- Jul 16, 2026CVE-2026-45334 getkirby kirby: missing authorization
Questions about CVE-2021-41252
Is CVE-2021-41252 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.93% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of getkirby kirby are affected by CVE-2021-41252?
getkirby/cms from 3.5.0 before 3.5.8, per the GitHub advisory GHSA-x7j7-qp7j-hw3q. The tables above give every range the sources list.
Which version fixes CVE-2021-41252?
3.5.8, per the GitHub advisory GHSA-x7j7-qp7j-hw3q. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-41252?
High (7.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-41252?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.