Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getkirby/cms
  4. ›
  5. CVE-2026-45368

CVE-2026-45368: Kirby CMS vulnerable to cross-site scripting (XSS) from links in KirbyTags and image blocks in the site frontend

May 27, 2026

In affected releases, the underlying URL methods for these components did not filter out malicious URL values that resolve to script execution. While simple javascript: 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.

The vulnerability allows attackers to inject malicious links into content. The malicious links would then be rendered on the site frontend. If a site visitor or logged in user browsing the site would click such a link, the malicious script code would then be executed in the browser.

References

  • github.com/advisories/GHSA-qvjf-922g-pj44
  • github.com/getkirby/kirby/releases/tag/4.9.1
  • github.com/getkirby/kirby/releases/tag/5.4.1
  • github.com/getkirby/kirby/security/advisories/GHSA-qvjf-922g-pj44
  • nvd.nist.gov/vuln/detail/CVE-2026-45368

Code Behaviors & Features

Detect and mitigate CVE-2026-45368 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.9.1, all versions starting from 5.0.0 before 5.4.1

Fixed versions

  • 4.9.1
  • 5.4.1

Solution

Upgrade to versions 4.9.1, 5.4.1 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/getkirby/cms/CVE-2026-45368.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:36 +0000.