Skip to content

kirby

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

CVE-2026-45368Published 16 Jul 2026, 21:49 UTC

Real-world risk

2.9/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.4

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
kirbyCommon< 4.9.1; >= 5.0.0, < 5.4.14.9.1, 5.4.1

What to do

Update to a fixed version: 4.9.1, 5.4.1.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 29), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.420
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.42 × threat 0.852.856
  4. Rounded to one decimal between 0.1 and 102.9

How the score works

Exploitation and evidence timeline

  1. 16 Jul 2026 Published
  2. 3 Dec 2026 Risk 2.9 (cvss fallback)

Weakness

CWE-79

References

Get alerts for kirby

Free email or text alerts when a vulnerability in kirby reaches risk 8 or higher. Nothing else.