# CVE-2026-45368: Kirby: Cross-site scripting (XSS) from links in KirbyTags and image blocks in the site frontend

- Severity: High 8.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA: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.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-05-27T17:42:03.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-qvjf-922g-pj44
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Kirby is an open-source content management system. In versions prior to 4.9.1 and 5.4.1, the underlying URL methods for the KirbyTags and image blocks components did not filter out malicious URL values that resolve to script execution. The vulnerability affects four first-party Kirby renderers that produce `<a href="…">` output from editor-supplied field values: the (`link: …)` KirbyTag, the `link`: parameter of the `(image: …)` KirbyTag when it does not resolve to a known file or `self`, the `link` field of the built-in image block, and the HTML importer for the `blocks` field (which accepted the same malicious input as the image block `link` field). While simple `avascript:` URLs were already deactivated by treating them as a relative path and prepending a single slash to the URL, the use of URLs of the format `javascript://x%0A…` bypasses this protection. The `vbscript:`, `data:`, `livescript:`, `mocha:` and `jar:` schemes are affected by the same underlying gap. This issue has been fixed in versions 4.9.1 and 5.4.1.

(As written by CVE List.)

## Affected

- getkirby kirby: < 4.9.1; >= 5.0.0, < 5.4.1
- getkirby/cms (Packagist): before 4.9.1; from 5.0.0 before 5.4.1

## Every score

- GitHub_M: CVSS:4.0 8.4 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/getkirby/kirby/security/advisories/GHSA-qvjf-922g-pj44> (web)
- <https://github.com/getkirby/kirby/releases/tag/5.4.1> (web)
- <https://github.com/getkirby/kirby> (package)
- <https://github.com/getkirby/kirby/releases/tag/4.9.1> (web)

## Sources

- CVE List: [CVE-2026-45368](https://www.cve.org/CVERecord?id=CVE-2026-45368), CVE Terms of Use, modified 2026-07-18
- GitHub Advisory Database: [GHSA-qvjf-922g-pj44](https://github.com/advisories/GHSA-qvjf-922g-pj44), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-45368](https://nvd.nist.gov/vuln/detail/CVE-2026-45368), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-45368 · Whole record: https://cve.day/CVE-2026-45368.json · Rebuilt by cve.day 2026-11-25T22:59:28.443Z
