{"id":"CVE-2024-27087","published":"2024-02-26T16:44:31Z","modified":"2024-08-02T00:27:57Z","title":"Kirby cross-site scripting (XSS) in the link field \"Custom\" type","vendor":"getkirby","product":"kirby","tier":"tail","description":{"text":"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.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00495,"percentile":0.35344,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/getkirby/kirby/security/advisories/GHSA-63h4-w25c-3qv4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getkirby/kirby/commit/cda3dd9a15228d35e62ff86cfa87a67e7c687437","tags":["x_refsource_MISC"]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":7.07},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"getkirby","affectedVersions":[{"vendor":"getkirby","product":"kirby","versions":[">= 4.0.0, < 4.1.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-26T19:25:25.604500Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getkirby/cms","vulnerableRanges":[">=4.0.0, <4.1.1"],"patched":["4.1.1"],"from":["GHSA-63h4-w25c-3qv4"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in the \"Custom\" link type of the link field in Kirby, the content management system from getkirby, lets that type accept the javascript: URL scheme without validation. An attacker with low-privilege access who can enter link field content needs a user or visitor to click a link generated from that content, after which arbitrary JavaScript runs.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:39Z"},"euvd":{"id":"EUVD-2024-0528","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-38492","published":"2023-07-27","fixed":"3.9.6","kev":false},{"cve":"CVE-2024-26481","published":"2024-02-22","fixed":"4.1.1","kev":false},{"cve":"CVE-2024-26483","published":"2024-02-22","fixed":"4.1.1","kev":false},{"cve":"CVE-2024-27087","published":"2024-02-26","fixed":"4.1.1","kev":false},{"cve":"CVE-2024-41964","published":"2024-08-29","fixed":"4.3.1","kev":false,"link":{"from":"CVE-2024-27087","to":"CVE-2024-41964","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:getkirby/cms","fromFixed":"4.1.1","toFixed":"4.3.1","daysApart":185}]}},{"cve":"CVE-2025-30207","published":"2025-05-13","fixed":"4.7.1","kev":false},{"cve":"CVE-2025-31493","published":"2025-05-13","fixed":"4.7.1","kev":false}],"package":"Packagist:getkirby/cms"}}