Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2021-29460

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.

EXPLOITMEDIUM 5.4EPSS 3.17%

Does this matter?

A public exploit is published in Exploit-DB, so the technical barrier is gone even though the severity is medium and EPSS is 3.2%. Treat it as high on anything reachable from the internet.

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.

CVSS 3.1
5.4 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
3.17% probability · 88th percentile
Public exploits
1 in Exploit-DB · first 28 April 2021
CISA KEV
Not listed
Weakness
CWE-79: Cross-site scripting
Affected
getkirby/kirby
Source
security-advisories@github.com

In plain terms

It can be reached over a network, but only by someone who already has an account, so stolen or shared credentials are the usual way in.

Reached from
Over a network. If the affected system can be reached from the internet, so can the flaw.
Effort
Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
Login needed
An ordinary user account.
Someone else involved
Yes. Someone has to do something, such as open a file or follow a link.
At risk
Reading data: limited. Changing data: limited. Stopping the service: none.
Beyond the affected system
Yes. The effect can reach systems other than the one that has the flaw.

Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.

The first public exploit in Exploit-DB is dated 28 April 2021, 1 day after the record was published.

EPSS trend
0%3%5%5 December 2026: 3.17%5 December 20265 December 2026

EPSS 3.2% since 5 December 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-49808source ↗Kirby CMS 3.5.3.1 - 'file' Authenticated Stored Cross-Site Scripting (XSS)php · Sreenath Raghunathanwebapps28 April 2021no

The same product

We hold 5 records for getkirby/kirby. None of them is on CISA’s known-exploited list. Follow this product to hear of the next one.

Where to go from here

One vulnerability is rarely the whole question. These are free, and none of them asks for an account.

By email

Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.

Double opt-in. Unsubscribe in one click. No sharing, ever.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.