CVEBrief

Home / getkirby / kirby / CVE-2023-38491

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

CVE-2023-38491 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, 14:38 UTC). Affected: getkirby/cms before 3.5.8.3, getkirby/cms from 3.6.0 before 3.6.6.3, getkirby/cms from 3.7.0 before 3.7.5.2 and 2 more (GitHub advisory GHSA-8fv7-wq38-f5c9). Fixed in 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1 and 1 more (GitHub advisory GHSA-8fv7-wq38-f5c9). Severity: Medium (5.7, CVSS 3.1, from GitHub_M).

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

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:38 UTC
Affected
getkirby/cms before 3.5.8.3, getkirby/cms from 3.6.0 before 3.6.6.3, getkirby/cms from 3.7.0 before 3.7.5.2 and 2 more
GitHub advisory GHSA-8fv7-wq38-f5c9
Fixed in
3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1 and 1 more
GitHub advisory GHSA-8fv7-wq38-f5c9
Severity
Medium 5.7
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.62% in 30 days
higher than 51% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2023-38491?

Kirby vulnerable to Cross-site scripting (XSS) from MIME type auto-detection of uploaded files

Kirby is a content management system. A vulnerability in versions prior to 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6 affects all Kirby sites that might have potential attackers in the group of authenticated Panel users or that allow external visitors to upload an arbitrary file to the content folder. Kirby sites are not affected if they don't allow file uploads for untrusted users or visitors or if the file extensions of uploaded files are limited to a fixed safe list. The attack requires user interaction by another user or visitor and cannot be automated. An editor with write access to the Kirby Panel could upload a file with an unknown file extension like `.xyz` that contains HTML code including harmful content like `<script>` tags. The direct link to that file could be sent to other users or visitors of the site. If the victim opened that link in a browser where they are logged in to Kirby and the file had not been opened by anyone since the upload, Kirby would not be able to send the correct MIME content type, instead falling back to `text/html`. The browser would then run the script, which could for example trigger requests to Kirby's API with the permissions of the victim. The issue was caused by the underlying `Kirby\Http\Response::file()` method, which didn't have an explicit fallback if the MIME type could not be determined from the file extension. If you use this method in site or plugin code, these uses may be affected by the same vulnerability. The problem has been patched in Kirby 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6. In all of the mentioned releases, the maintainers have fixed the affected method to use a fallback MIME type of `text/plain` and set the `X-Content-Type-Options: nosniff` header if the MIME type of the file is unknown.

From the CVE record by GitHub_M, last updated October 15, 2024, 15:30 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
getkirbykirby< 3.5.8.3
>= 3.6.0, < 3.6.6.3
>= 3.7.0, < 3.7.5.2
>= 3.8.0, < 3.8.41
>= 3.9.0, < 3.9.6

As the CVE record by GitHub_M states it, last updated October 15, 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.8.33.5.8.3GHSA-8fv7-wq38-f5c9
Packagistgetkirby/cms>= 3.6.0, < 3.6.6.33.6.6.3GHSA-8fv7-wq38-f5c9
Packagistgetkirby/cms>= 3.7.0, < 3.7.5.23.7.5.2GHSA-8fv7-wq38-f5c9
Packagistgetkirby/cms>= 3.8.0, < 3.8.4.13.8.4.1GHSA-8fv7-wq38-f5c9
Packagistgetkirby/cms>= 3.9.0, < 3.9.63.9.6GHSA-8fv7-wq38-f5c9

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 28, 2023. Summary: Cross-site scripting (XSS) from MIME type auto-detection of uploaded files.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
getkirbykirbyfrom 3.5.0 before 3.5.8.3application
getkirbykirbyfrom 3.6.0 before 3.6.6.3application
getkirbykirbyfrom 3.7.0 before 3.7.5.2application
getkirbykirbyfrom 3.8.0 before 3.8.4.1application
getkirbykirbyfrom 3.9.0 before 3.9.6application

NVD analysis (status Modified), last modified June 17, 2026, 06:10 UTC.

How severe is CVE-2023-38491?

ScoreVersionVectorSource
Medium 5.7CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/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

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-2023-38491 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 15, 2024)
EPSS
0.62% probability of exploitation activity in the next 30 days, percentile 51.1 (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
July 18, 2023
Published
July 27, 2023, 15:30 UTC
CVE record updated
October 15, 2024, 15:30 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 06:10 UTC
Last checked
CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:37 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect kirby?

Every CVE in kirby

Questions about CVE-2023-38491

Is CVE-2023-38491 exploited in the wild?

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

Which versions of getkirby kirby are affected by CVE-2023-38491?

getkirby/cms before 3.5.8.3, getkirby/cms from 3.6.0 before 3.6.6.3, getkirby/cms from 3.7.0 before 3.7.5.2, getkirby/cms from 3.8.0 before 3.8.4.1 and getkirby/cms from 3.9.0 before 3.9.6, per the GitHub advisory GHSA-8fv7-wq38-f5c9. The tables above give every range the sources list.

Which version fixes CVE-2023-38491?

3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1 and 3.9.6, per the GitHub advisory GHSA-8fv7-wq38-f5c9. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-38491?

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

Where is the official record of CVE-2023-38491?

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.