CVE-2022-36037

kirby is a content management system (CMS) that adapts to many different projects and helps you build your own ideal interface. Cross-site scripting (XSS) is a type of vulnerability that allows execution of 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. If bad actors gain access to your group of authenticated Panel users they can escalate their privileges via the Panel session of an admin user. Depending on your site, other JavaScript-powered attacks are possible. The multiselect field allows selection of tags from an autocompleted list. Unfortunately, the Panel in Kirby 3.5 used HTML rendering for the raw option value. This allowed **attackers with influence on the options source** to store HTML code. The browser of the victim who visited a page with manipulated multiselect options in the Panel will then have rendered this malicious HTML code when the victim opened the autocomplete dropdown. Users are *not* affected by this vulnerability if you don't use the multiselect field or don't use it with options that can be manipulated by attackers. The problem has been patched in Kirby 3.5.8.1.
Configurations

Configuration 1 (hide)

cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*

History

07 Sep 2022, 20:37

Type Values Removed Values Added
References (MISC) https://github.com/getkirby/kirby/commit/b5b8863885e17556abc070dde1e20aec15fbfdf5 - (MISC) https://github.com/getkirby/kirby/commit/b5b8863885e17556abc070dde1e20aec15fbfdf5 - Patch, Third Party Advisory
References (CONFIRM) https://github.com/getkirby/kirby/security/advisories/GHSA-3f89-869f-5w76 - (CONFIRM) https://github.com/getkirby/kirby/security/advisories/GHSA-3f89-869f-5w76 - Patch, Third Party Advisory
References (MISC) https://github.com/getkirby/kirby/releases/tag/3.5.8.1 - (MISC) https://github.com/getkirby/kirby/releases/tag/3.5.8.1 - Release Notes, Third Party Advisory
First Time Getkirby kirby
Getkirby
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
CPE cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*

29 Aug 2022, 18:32

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-29 18:15

Updated : 2023-12-10 14:35


NVD link : CVE-2022-36037

Mitre link : CVE-2022-36037

CVE.ORG link : CVE-2022-36037


JSON object : View

Products Affected

getkirby

  • kirby
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')