7.6
HIGH
CVE-2021-29460
Kirby SVG Injection Vulnerability
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.

INFO

Published Date :

April 27, 2021, 8:15 p.m.

Last Modified :

May 7, 2021, 10:46 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.7

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2021-29460 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Getkirby kirby
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-29460.

URL Resource
http://packetstormsecurity.com/files/162359/Kirby-CMS-3.5.3.1-Cross-Site-Scripting.html Exploit Third Party Advisory VDB Entry
https://github.com/getkirby/kirby/releases/tag/3.5.4 Release Notes Third Party Advisory
https://github.com/getkirby/kirby/security/advisories/GHSA-qgp4-5qx6-548g Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-29460 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-29460 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    May. 07, 2021

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:N/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type http://packetstormsecurity.com/files/162359/Kirby-CMS-3.5.3.1-Cross-Site-Scripting.html No Types Assigned http://packetstormsecurity.com/files/162359/Kirby-CMS-3.5.3.1-Cross-Site-Scripting.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/getkirby/kirby/releases/tag/3.5.4 No Types Assigned https://github.com/getkirby/kirby/releases/tag/3.5.4 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/getkirby/kirby/security/advisories/GHSA-qgp4-5qx6-548g No Types Assigned https://github.com/getkirby/kirby/security/advisories/GHSA-qgp4-5qx6-548g Exploit, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* versions up to (excluding) 3.5.4
  • CVE Modified by [email protected]

    Apr. 28, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/162359/Kirby-CMS-3.5.3.1-Cross-Site-Scripting.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-29460 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-29460 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.22 }} -0.27%

score

0.85651

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability