All vulnerabilities

Servers and applications

CVE-2021-29460

Cross-site scripting (XSS) from unvalidated uploaded SVG or XML files

Severity
Medium 5.4
Published
27 Apr 2021
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.5.4
Also known as
GHSA-qgp4-5qx6-548g
Sources
NVD, Project advisories (GitHub)

Description

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…

Affected software

SoftwareAffected versions
KirbyServers and applications · cpe:a:getkirby:kirby
  • Every version before 3.5.4
KirbyServers and applications · github:getkirby/kirby
  • Every version before 3.5.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-29460
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-29460
  • GitHub Advisory Database https://github.com/advisories/GHSA-qgp4-5qx6-548g
  • github.com https://github.com/getkirby/kirby/security/advisories/GHSA-qgp4-5qx6-548g