Every CVE Search/ Get API key

CVE-2024-26481

Kirby vulnerable to self cross-site scripting (self-XSS) in the URL field

4.7 MediumFix available

Kirby CMS v4.1.0 was discovered to contain a reflected self-XSS vulnerability via the URL parameter.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.40%Up 0.4 points since Feb 22, 2024
90%50%10%1%

What each source reports

CVE List Score used 4.7

Kirby CMS v4.1.0 was discovered to contain a reflected self-XSS vulnerability via the URL parameter.

Record
CVE-2024-26481
CVSS 3.1
4.7 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2024-0519 4.7

Kirby CMS v4.1.0 was discovered to contain a reflected self-XSS vulnerability via the URL parameter.

Record
EUVD-2024-0519
CVSS 3.1
4.7 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-57f2-8p89-66x6 4.2

Kirby vulnerable to self cross-site scripting (self-XSS) in the URL field

TL;DR

This vulnerability affects Kirby sites that use the URL field in any blueprint.

A successful attack commonly requires knowledge of the content structure by the attacker as well as social engineering of a user with access to the Panel. The attack cannot be automated.

The vulnerability is also limited to self-XSS and cannot directly affect other users or visitors of the site.


Introduction

Cross-site scripting (XSS) is a type of vulnerability that allows to execute any kind of JavaScript code inside the Panel session of the same or other users. In the Panel, a harmful script can for example trigger requests to Kirby's API with the permissions of the victim.

Self cross-site scripting (self-XSS, also called reflected XSS) typically involves a user inadvertently executing malicious code within their own context, often through social engineering techniques. This can occur when a user is tricked into pasting and executing malicious JavaScript code into the browser's developer console, address bar or form fields.

Such vulnerabilities are critical as they allow attackers to gain access to the system or to 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.

Impact

The URL field allows users to open the entered link in a new tab by clicking the link icon inside the field. This can be used to quickly verify whether the entered URL is functional and correct.

In affected versions, Kirby copied the entered URL into the link target of that link button without validating or sanitizing the link. This could be abused by attackers with a javascript: URL that would then be executed in the user's context when the link button was clicked with <kbd>Ctrl+Click</kbd>/<kbd>Cmd+Click</kbd>.

Patches

The problem has been patched in Kirby 3.6.6.5, Kirby 3.7.5.4, Kirby 3.8.4.3, Kirby 3.9.8.1, Kirby 3.10.0.1, and Kirby 4.1.1. Please update to one of these or a later version to fix the vulnerability.

In all of the mentioned releases, we have changed the URL field to only make the link button clickable if the entered URL is valid and safe.

Credits

Thanks to Natwara Archeepsamooth (@PlyNatwara) for responsibly reporting the identified issue.

Record
GHSA-57f2-8p89-66x6
CVSS 3.1
4.2 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
NVD 4.7

Kirby CMS v4.1.0 was discovered to contain a reflected self-XSS vulnerability via the URL parameter.

Record
CVE-2024-26481
CVSS 3.1
4.7 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 4.7

Kirby CMS v4.1.0 was discovered to contain a reflected self-XSS vulnerability via the URL parameter.

Record
CVE-2024-26481
CVSS 3.1
4.7 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVGHSA-57f2-8p89-66x6 4.2

Kirby vulnerable to self cross-site scripting (self-XSS) in the URL field

TL;DR

This vulnerability affects Kirby sites that use the URL field in any blueprint.

A successful attack commonly requires knowledge of the content structure by the attacker as well as social engineering of a user with access to the Panel. The attack cannot be automated.

The vulnerability is also limited to self-XSS and cannot directly affect other users or visitors of the site.


Introduction

Cross-site scripting (XSS) is a type of vulnerability that allows to execute any kind of JavaScript code inside the Panel session of the same or other users. In the Panel, a harmful script can for example trigger requests to Kirby's API with the permissions of the victim.

Self cross-site scripting (self-XSS, also called reflected XSS) typically involves a user inadvertently executing malicious code within their own context, often through social engineering techniques. This can occur when a user is tricked into pasting and executing malicious JavaScript code into the browser's developer console, address bar or form fields.

Such vulnerabilities are critical as they allow attackers to gain access to the system or to 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.

Impact

The URL field allows users to open the entered link in a new tab by clicking the link icon inside the field. This can be used to quickly verify whether the entered URL is functional and correct.

In affected versions, Kirby copied the entered URL into the link target of that link button without validating or sanitizing the link. This could be abused by attackers with a javascript: URL that would then be executed in the user's context when the link button was clicked with <kbd>Ctrl+Click</kbd>/<kbd>Cmd+Click</kbd>.

Patches

The problem has been patched in Kirby 3.6.6.5, Kirby 3.7.5.4, Kirby 3.8.4.3, Kirby 3.9.8.1, Kirby 3.10.0.1, and Kirby 4.1.1. Please update to one of these or a later version to fix the vulnerability.

In all of the mentioned releases, we have changed the URL field to only make the link button clickable if the entered URL is valid and safe.

Credits

Thanks to Natwara Archeepsamooth (@PlyNatwara) for responsibly reporting the identified issue.

Record
GHSA-57f2-8p89-66x6
CVSS 3.1
4.2 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
getkirby/cms
Packagist
through 3.6.6.4
3.6.6.5
getkirby/cms
Packagist
3.7.0 to 3.7.5.3
3.7.5.4
getkirby/cms
Packagist
3.8.0 to 3.8.4.2
3.8.4.3
getkirby/cms
Packagist
3.9.0 to 3.9.8
3.9.8.1
getkirby/cms
Packagist
3.10.0 to 3.10.0
3.10.0.1
getkirby/cms
Packagist
4.0.0 to 4.1.0
4.1.1
getkirby/cms
Packagist
before 3.6.6.5, plus listed versions
3.0.03.0.13.0.1-rc.13.0.23.0.2-rc.1
Show 45 moreShow less
3.0.33.0.3-rc.13.0.3-rc.23.0.3-rc.33.1.03.1.0-rc.13.1.13.1.23.1.2-rc.13.1.33.1.3-rc.13.1.43.1.4-rc.13.2.03.2.0-rc.13.2.0-rc.23.2.0-rc.33.2.0-rc.43.2.13.2.1-rc.13.2.23.2.33.2.3-rc.13.2.43.2.4-rc.13.2.53.2.5-rc.13.2.5-rc.23.3.03.3.0-rc.13.3.0-rc.23.3.0-rc.33.3.0-rc.43.3.0-rc.53.3.13.3.1-rc.13.3.23.3.2-rc.13.3.33.3.3-rc.13.3.43.3.4-rc.13.3.53.3.5-rc.13.3.6
3.6.6.5
getkirby/cms
Packagist
3.7.0 up to 3.7.5.4, plus listed versions
3.7.0.13.7.0.23.7.13.7.1-rc.13.7.2
Show 10 moreShow less
3.7.2-rc.13.7.2.13.7.33.7.3-rc.13.7.43.7.4-rc.13.7.53.7.5.13.7.5.23.7.5.3
3.7.5.4
getkirby/cms
Packagist
3.8.0 up to 3.8.4.3, plus listed versions
3.8.13.8.1-rc.13.8.1.13.8.23.8.2-rc.1
Show 6 moreShow less
3.8.33.8.3-rc.13.8.3-rc.23.8.43.8.4.13.8.4.2
3.8.4.3
getkirby/cms
Packagist
3.9.0 up to 3.9.8.1, plus listed versions
3.9.13.9.1-rc.13.9.23.9.2-rc.13.9.3
Show 12 moreShow less
3.9.3-rc.13.9.43.9.4-rc.13.9.53.9.5-rc.13.9.63.9.6-rc.13.9.6.13.9.73.9.7-rc.13.9.83.9.8-rc.1
3.9.8.1
getkirby/cms
Packagist
3.10.0 up to 3.10.0.1
3.10.0.1
getkirby/cms
Packagist
4.0.0 up to 4.1.1, plus listed versions
4.0.14.0.24.0.34.1.04.1.0-rc.14.1.0-rc.24.1.0-rc.3
4.1.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-26481 is a medium vulnerability (CVSS 4.7) in Getkirby Kirby, published February 22, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.40%, the 35th percentile. Fixed in getkirby/cms 3.6.6.5.

References

This page doesn't list everything

Left out here: 72 versions. The JSON record has them.

MoveEnter Open