CVE-2021-29460
Last modified
CVE-2021-29460 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 3.17% chance of exploitation in the next 30 days.
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 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Getkirby | Kirby | < 3.5.4 |
References
- http://packetstormsecurity.com/files/162359/Kirby-CMS-3.5.3.1-Cross-Site-Scripting.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/getkirby/kirby/releases/tag/3.5.4Release Notes, Third Party Advisory
- https://github.com/getkirby/kirby/security/advisories/GHSA-qgp4-5qx6-548gExploit, Third Party Advisory
- http://packetstormsecurity.com/files/162359/Kirby-CMS-3.5.3.1-Cross-Site-Scripting.htmlExploit, Third Party Advisory, VDB Entry
- https://github.com/getkirby/kirby/releases/tag/3.5.4Release Notes, Third Party Advisory
- https://github.com/getkirby/kirby/security/advisories/GHSA-qgp4-5qx6-548gExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-29460?
How severe is CVE-2021-29460?
How do I fix CVE-2021-29460?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-29454Smarty is a template engine for PHP, facilitating the separa…8.8
- CVE-2021-29455Grassroot Platform is an application to make it faster, chea…5.3
- CVE-2021-29456Authelia is an open-source authentication and authorization …5.4
- CVE-2021-29457Exiv2 is a command-line utility and C++ library for reading,…7.8
- CVE-2021-29458Exiv2 is a command-line utility and C++ library for reading,…5.5
- CVE-2021-29459XWiki Platform is a generic wiki platform offering runtime s…6.1
- CVE-2021-29461Discord Recon Server is a bot that allows one to do one's re…8.8
- CVE-2021-29462The Portable SDK for UPnP Devices is an SDK for development …9.8
- CVE-2021-29463Exiv2 is a command-line utility and C++ library for reading,…5.5
- CVE-2021-29464Exiv2 is a command-line utility and C++ library for reading,…7.8
- CVE-2021-29465Discord-Recon is a bot for the Discord chat service. Version…9.8
- CVE-2021-29466Discord-Recon is a bot for the Discord chat service. In vers…7.5
Are you affected by CVE-2021-29460?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
