{"id":"CVE-2024-27087","state":"PUBLISHED","title":"Kirby cross-site scripting (XSS) in the link field \"Custom\" type","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.\n\n","publishedAt":"2024-02-26T16:44:31.105Z","updatedAt":"2024-08-02T00:27:57.813Z","severity":{"score":4.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["getkirby kirby"],"affected":[{"vendor":"getkirby","product":"kirby","versions":[{"version":">= 4.0.0, < 4.1.1","status":"affected"}]}],"references":["https://github.com/getkirby/kirby/security/advisories/GHSA-63h4-w25c-3qv4","https://github.com/getkirby/kirby/commit/cda3dd9a15228d35e62ff86cfa87a67e7c687437"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/27xxx/CVE-2024-27087.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-27087","state":"PUBLISHED","datePublished":"2024-02-26T16:44:31.105Z","dateUpdated":"2024-08-02T00:27:57.813Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-02-19T14:43:05.992Z"},"containers":{"cna":{"title":"Kirby cross-site scripting (XSS) in the link field \"Custom\" type","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"getkirby","product":"kirby","versions":[{"version":">= 4.0.0, < 4.1.1","status":"affected"}]}],"references":[{"url":"https://github.com/getkirby/kirby/security/advisories/GHSA-63h4-w25c-3qv4","name":"https://github.com/getkirby/kirby/security/advisories/GHSA-63h4-w25c-3qv4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getkirby/kirby/commit/cda3dd9a15228d35e62ff86cfa87a67e7c687437","name":"https://github.com/getkirby/kirby/commit/cda3dd9a15228d35e62ff86cfa87a67e7c687437","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-02-26T16:44:31.105Z"},"source":{"advisory":"GHSA-63h4-w25c-3qv4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-27087","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-02-26T19:25:25.604500Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-05T17:22:00.531Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/getkirby/kirby/security/advisories/GHSA-63h4-w25c-3qv4","name":"https://github.com/getkirby/kirby/security/advisories/GHSA-63h4-w25c-3qv4","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/getkirby/kirby/commit/cda3dd9a15228d35e62ff86cfa87a67e7c687437","name":"https://github.com/getkirby/kirby/commit/cda3dd9a15228d35e62ff86cfa87a67e7c687437","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:27:57.813Z"}}]}}}