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.
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?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| getkirby | kirby | < 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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | getkirby/cms | < 3.5.8.3 | 3.5.8.3 | GHSA-8fv7-wq38-f5c9 |
| Packagist | getkirby/cms | >= 3.6.0, < 3.6.6.3 | 3.6.6.3 | GHSA-8fv7-wq38-f5c9 |
| Packagist | getkirby/cms | >= 3.7.0, < 3.7.5.2 | 3.7.5.2 | GHSA-8fv7-wq38-f5c9 |
| Packagist | getkirby/cms | >= 3.8.0, < 3.8.4.1 | 3.8.4.1 | GHSA-8fv7-wq38-f5c9 |
| Packagist | getkirby/cms | >= 3.9.0, < 3.9.6 | 3.9.6 | GHSA-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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| getkirby | kirby | from 3.5.0 before 3.5.8.3 | application |
| getkirby | kirby | from 3.6.0 before 3.6.6.3 | application |
| getkirby | kirby | from 3.7.0 before 3.7.5.2 | application |
| getkirby | kirby | from 3.8.0 before 3.8.4.1 | application |
| getkirby | kirby | from 3.9.0 before 3.9.6 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:10 UTC.
How severe is CVE-2023-38491?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N | GitHub_M |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
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?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/getkirby/kirby/security/advisories/GHSA-8fv7-wq38-f5c9 x_refsource_CONFIRM
- https://github.com/getkirby/kirby/commit/2f06ba1c026bc91cb0702bc16b7d505642536d15 x_refsource_MISC
- https://github.com/getkirby/kirby/releases/tag/3.5.8.3 x_refsource_MISC
- https://github.com/getkirby/kirby/releases/tag/3.6.6.3 x_refsource_MISC
- https://github.com/getkirby/kirby/releases/tag/3.7.5.2 x_refsource_MISC
- https://github.com/getkirby/kirby/releases/tag/3.8.4.1 x_refsource_MISC
- https://github.com/getkirby/kirby/releases/tag/3.9.6 x_refsource_MISC
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?
- Nov 22, 2026CVE-2026-134765 getkirby kirby: time-of-check time-of-use race condition
- Oct 12, 2026CVE-2026-108924 getkirby Kirby: authorization bypass through a user-controlled key (IDOR)
- Aug 31, 2026CVE-2026-75594 getkirby kirby: path traversal (reading or writing files outside the intended folder)
- Aug 31, 2026CVE-2026-75592 getkirby kirby: path traversal (reading or writing files outside the intended folder)
- Aug 31, 2026CVE-2026-71415 getkirby kirby: missing authorization
- Aug 7, 2026CVE-2026-69127 getkirby kirby: system information exposed
- Jul 16, 2026CVE-2026-45368 getkirby kirby: cross-site scripting (XSS)
- Jul 16, 2026CVE-2026-45334 getkirby kirby: missing authorization
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.