CVE-2024-27087 Kirby cross-site scripting (XSS) in the link field "Custom" type
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/getkirby/kirby/security/advisories/GHSA-63h4-w25c-3qv4 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/getkirby/kirby/commit/cda3dd9a15228d35e62ff86cfa87a67e7c687437 patch
- github.com product
- github.com
- github.com