# CVE-2022-36037: Cross-site scripting (XSS) from dynamic options in the multiselect field in Kirby

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 62% of CVEs (2026-12-01)
- Published: 2022-08-29T17:34:36.000Z
- Modified: 2026-06-17T04:52:47.443Z
- Also known as: GHSA-3f89-869f-5w76
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- getkirby kirby: < 3.5.8.1; before 3.5.8.1
- getkirby/cms (Packagist): before 3.5.8.1

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/getkirby/kirby/security/advisories/GHSA-3f89-869f-5w76> (patch, third-party-advisory, web)
- <https://github.com/getkirby/kirby/commit/b5b8863885e17556abc070dde1e20aec15fbfdf5> (patch, third-party-advisory, web)
- <https://github.com/getkirby/kirby/releases/tag/3.5.8.1> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36037> (advisory)
- <https://github.com/getkirby/kirby> (package)

## Sources

- CVE List: [CVE-2022-36037](https://www.cve.org/CVERecord?id=CVE-2022-36037), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-3f89-869f-5w76](https://github.com/advisories/GHSA-3f89-869f-5w76), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-36037](https://nvd.nist.gov/vuln/detail/CVE-2022-36037), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-36037 · Whole record: https://cve.day/CVE-2022-36037.json · Rebuilt by cve.day 2026-11-25T22:58:14.542Z
