CVE-2022-36037
Cross-site scripting (XSS) from dynamic options in the multiselect field in Kirby
Also known as GHSA-3f89-869f-5w76
Mitigation
- Upgrade getkirby/cms to 3.5.8.1 or later.
Who should check
- Projects that depend on Packagist package getkirby/cms (< 3.5.8.1)
- Anyone running getkirby kirby < 3.5.8.1
Vulnerability facts
- Affected
- getkirby/cms < 3.5.8.1
- Fixed in
- 3.5.8.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 1.01% chance of exploitation in 30 days (percentile 62, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist getkirby/cms | < 3.5.8.1 | 3.5.8.1 | osv |
| getkirby kirby | < 3.5.8.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-36037. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-36037.md Affected: getkirby/cms < 3.5.8.1 Fixed in: 3.5.8.1 Steps: 1. Search this machine and project for getkirby/cms (Packagist), getkirby kirby: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-36037 being exploited?
There is no confirmed exploitation: CVE-2022-36037 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.01% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-36037?
Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-36037?
getkirby/cms < 3.5.8.1.
Is there a fix for CVE-2022-36037?
Yes. Fixed in 3.5.8.1. Upgrade getkirby/cms to 3.5.8.1 or later.
How do I check if I'm affected by CVE-2022-36037?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.