All vulnerabilities

Servers and applications

GHSA-8jc4-4vp5-cxjv

Cross-site scripting (XSS) via CDATA sections in SVG and XML files

Severity
High 7.4
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
18 Nov 2026
Fixed in
4.9.8, 5.6.4
Weakness
Improper input validation (CWE-20)Cross-site scripting (CWE-79)
Attack
Over the network · Only under certain conditions · Needs a user account · Needs someone to view a page or file
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N
Sources
Project advisories (GitHub)

Description

Users who can upload files can store SVG or XML files with JavaScript that runs in older Chromium-based browsers when a site embeds the file inline.

  • Can store SVG or XML files with JavaScript that the upload checks should reject
  • Can run that JavaScript in the browser of anyone who views a page that embeds the file inline with an affected browser
  • Can then act with that person's permissions, e.g. an admin's, while they are logged in to the Panel
  • Cannot run JavaScript in browsers that follow the HTML standard for these CDATA sections, e.g. Chrome 156
  • Cannot run JavaScript when the file is opened from its media URL or embedded with
  • Cannot gain higher permissions unless such a user views the page
  • Cannot bypass file name or extension rules (no .php or .html files)
From getkirby/kirby's security advisory.

Workarounds

  • Deliver uploaded SVG and XML files from their media URL or with instead of embedding them inline.
  • Only let fully trusted users upload or replace SVG or XML files.
Workarounds as given by getkirby/kirby's security advisory.

Affected software

SoftwareAffected versions
KirbyServers and applications · github:getkirby/kirby
  • Every version before 4.9.8
  • From 5.0.0 before 5.6.4

About Kirby

proprietary flat-file content management system

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
52,017Packagist, 15 Nov 2026
Total downloads (Packagist)
731,120Packagist, 15 Nov 2026
GitHub stars
1,539GitHub, 15 Nov 2026
Forks
195GitHub, 15 Nov 2026
Latest release
5.6.3GitHub, 15 Nov 2026
Released
5 Nov 2026GitHub
Written in
PHP, Vue.jsWikidata
First published on GitHub
6 Oct 2017GitHub

Release lines

ReleaseLatestSecurity fixes
55.6.3Yes
3.103.10.1.2Ended 27 Nov 2025
4 (A new era)4.9.7Until 28 Nov 2026
3.9 (Brookesia)3.9.8.3Ended 27 Nov 2025
3.8 (Rhampholeon)3.8.4.4Ended 16 Jan 2025
3.7 (Kinyongia)3.7.5.5Ended 5 Oct 2024

From endoflife.date.

References