CVE-2022-36037
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure.
- Exploit odds
- 0.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.9% in the next 30 days (EPSS).
- Severity: 5.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Getkirby Kirby < 3.5.8.1
Attack profile CVSS 3.1 · 5.9
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-36037.md and follow it. Check whether this project is affected by CVE-2022-36037. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/getkirby/kirby/commit/b5b8863885e17556abc070dde1e20aec15fbfdf5
- https://github.com/getkirby/kirby/releases/tag/3.5.8.1
- https://github.com/getkirby/kirby/security/advisories/GHSA-3f89-869f-5w76
- https://github.com/getkirby/kirby/commit/b5b8863885e17556abc070dde1e20aec15fbfdf5
- https://github.com/getkirby/kirby/releases/tag/3.5.8.1
- https://github.com/getkirby/kirby/security/advisories/GHSA-3f89-869f-5w76
References
- https://github.com/getkirby/kirby/commit/b5b8863885e17556abc070dde1e20aec15fbfdf5
- https://github.com/getkirby/kirby/releases/tag/3.5.8.1
- https://github.com/getkirby/kirby/security/advisories/GHSA-3f89-869f-5w76
- https://github.com/getkirby/kirby/commit/b5b8863885e17556abc070dde1e20aec15fbfdf5
- https://github.com/getkirby/kirby/releases/tag/3.5.8.1
- https://github.com/getkirby/kirby/security/advisories/GHSA-3f89-869f-5w76