CVEBrief

Home / getkirby / kirby / CVE-2021-41258

CVE-2021-41258: is it exploited, and which versions of getkirby kirby are affected and fixed?

CVE-2021-41258 is a cross-site scripting (XSS) vulnerability in getkirby kirby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: getkirby/cms from 3.5.0 before 3.5.8 (GitHub advisory GHSA-cq58-r77c-5jjw). Fixed in 3.5.8 (GitHub advisory GHSA-cq58-r77c-5jjw). Severity: High (7.3, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
getkirby/cms from 3.5.0 before 3.5.8
GitHub advisory GHSA-cq58-r77c-5jjw
Fixed in
3.5.8
GitHub advisory GHSA-cq58-r77c-5jjw
Severity
High 7.3
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.81% in 30 days
higher than 58% of CVEs; FIRST, December 2, 2026

What is CVE-2021-41258?

Cross-site scripting (XSS) from image block content in the site frontend

Kirby is an open source file structured CMS. In affected versions Kirby's blocks field stores structured data for each block. This data is then used in block snippets to convert the blocks to HTML for use in your templates. We recommend to escape HTML special characters to protect against cross-site scripting (XSS) attacks. The default snippet for the image block unfortunately did not use our escaping helper. This made it possible to include malicious HTML code in the source, alt and link fields of the image block, which would then be displayed on the site frontend and executed in the browsers of site visitors and logged in users who are browsing the site. Attackers must be in your group of authenticated Panel users in order to exploit this weakness. Users who do not make use of the blocks field are not affected. This issue has been patched in Kirby version 3.5.8 by escaping special HTML characters in the output from the default image block snippet. Please update to this or a later version to fix the vulnerability.

From the CVE record by GitHub_M, last updated August 4, 2024, 03:08 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
getkirbykirby>= 3.5.0, < 3.5.8

As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Packagistgetkirby/cms>= 3.5.0, < 3.5.83.5.8GHSA-cq58-r77c-5jjw

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 16, 2021. Summary: Cross-site scripting (XSS) from image block content in the site frontend.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
getkirbykirbyfrom 3.5.0 through 3.5.7.1application

NVD analysis (status Modified), last modified June 17, 2026, 04:08 UTC.

How severe is CVE-2021-41258?

ScoreVersionVectorSource
High 7.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:NGitHub_M
Medium 5.4CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NNVD
Low 2.1CVSS 2.0AV:N/AC:H/Au:S/C:N/I:P/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-41258 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.81% probability of exploitation activity in the next 30 days, percentile 58.0 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
September 15, 2021
Published
November 16, 2021, 18:05 UTC
CVE record updated
August 4, 2024, 03:08 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:08 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect kirby?

Every CVE in kirby

Questions about CVE-2021-41258

Is CVE-2021-41258 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.81% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of getkirby kirby are affected by CVE-2021-41258?

getkirby/cms from 3.5.0 before 3.5.8, per the GitHub advisory GHSA-cq58-r77c-5jjw. The tables above give every range the sources list.

Which version fixes CVE-2021-41258?

3.5.8, per the GitHub advisory GHSA-cq58-r77c-5jjw. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-41258?

High (7.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2021-41258?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.