Skip to content

CVE-2024-27087 Kirby cross-site scripting (XSS) in the link field "Custom" type

MediumCVSS 5.4 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHP

Description

Kirby is a content management system. The new link field introduced in Kirby 4 allows several different link types that each validate the entered link to the relevant URL format. It also includes a "Custom" link type for advanced use cases that don't fit any of the pre-defined link formats. As the "Custom" link type is meant to be flexible, it also allows the javascript: URL scheme. In some use cases this can be intended, but it can also be misused by attackers to execute arbitrary JavaScript code when a user or visitor clicks on a link that is generated from the contents of the link field. This vulnerability is patched in 4.1.1.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
getkirby kirby = >= 4.0.0, < 4.1.1; >= 4.0.0, < 4.1.1 4.1.1 Fixed
getkirby/cms(Packagist) = 4.0.0; = 4.0.1; = 4.0.2; = 4.0.3 +5 more 4.1.1 Fixed

Affected products

ProductAffected versionsFixed in
getkirby/cms(Packagist) >= 4.0.0, < 4.1.1 4.1.1
getkirby/cms(Packagist) = 4.0.0 No fix listed
getkirby/cms(Packagist) = 4.0.1 No fix listed
getkirby/cms(Packagist) = 4.0.2 No fix listed
getkirby/cms(Packagist) = 4.0.3 No fix listed
getkirby/cms(Packagist) = 4.1.0 No fix listed
getkirby/cms(Packagist) = 4.1.0-rc.1 No fix listed
getkirby/cms(Packagist) = 4.1.0-rc.2 No fix listed
getkirby/cms(Packagist) = 4.1.0-rc.3 No fix listed
getkirby kirby = >= 4.0.0, < 4.1.1 No fix listed
getkirby kirby >= 4.0.0, < 4.1.1 4.1.1

References