Home / getkirby / kirby / CVE-2021-29460
CVE-2021-29460: is it exploited, and which versions of getkirby kirby are affected and fixed?
CVE-2021-29460 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, 14:38 UTC). Affected: getkirby/cms before 3.5.4 (GitHub advisory GHSA-qgp4-5qx6-548g). Fixed in 3.5.4 (GitHub advisory GHSA-qgp4-5qx6-548g). Severity: High (7.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2021-29460?
Cross-site scripting (XSS) from unsanitized uploaded SVG files
Kirby is an open source CMS. An editor with write access to the Kirby Panel can upload an SVG file that contains harmful content like `<script>` tags. The direct link to that file can be sent to other users or visitors of the site. If the victim opens that link in a browser where they are logged in to Kirby, the script will run and can for example trigger requests to Kirby's API with the permissions of the victim. This vulnerability is critical if you might have potential attackers in your group of authenticated Panel users, as they can escalate their privileges if they get access to the Panel session of an admin user. Depending on your site, other JavaScript-powered attacks are possible. Visitors without Panel access can only use this attack vector if your site allows SVG file uploads in frontend forms and you don't already sanitize uploaded SVG files. The problem has been patched in Kirby 3.5.4. Please update to this or a later version to fix the vulnerability. Frontend upload forms need to be patched separately depending on how they store the uploaded file(s). If you use `File::create()`, you are protected by updating to 3.5.4+. As a work around you can disable the upload of SVG files in your file blueprints.
From the CVE record by GitHub_M, last updated August 3, 2024, 22:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| getkirby | kirby | < 3.5.4 |
As the CVE record by GitHub_M states it, last updated August 3, 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.4 | 3.5.4 | GHSA-qgp4-5qx6-548g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 27, 2021. Summary: Cross-site scripting (XSS) from unsanitized uploaded SVG files in Kirby.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| getkirby | kirby | before 3.5.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:47 UTC.
How severe is CVE-2021-29460?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/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 3.5 | CVSS 2.0 | AV:N/AC:M/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-29460 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.17% probability of exploitation activity in the next 30 days, percentile 88.4 (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-qgp4-5qx6-548g x_refsource_CONFIRM
- https://github.com/getkirby/kirby/releases/tag/3.5.4 x_refsource_MISC
- http://packetstormsecurity.com/files/162359/Kirby-CMS-3.5.3.1-Cross-Site-Scripting.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 30, 2021
- Published
- April 27, 2021, 20:10 UTC
- CVE record updated
- August 3, 2024, 22:02 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:47 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 14: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-29460
Is CVE-2021-29460 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 3.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of getkirby kirby are affected by CVE-2021-29460?
getkirby/cms before 3.5.4, per the GitHub advisory GHSA-qgp4-5qx6-548g. The tables above give every range the sources list.
Which version fixes CVE-2021-29460?
3.5.4, per the GitHub advisory GHSA-qgp4-5qx6-548g. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-29460?
High (7.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-29460?
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.