Read the docs
TI-2026-26834 Aliases CVE-2026-34587GHSA-jcjw-58rv-c452

Kirby has Server-Side Template Injection (SSTI) via double template resolution in option rendering

Priority LOW 35CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1336.

Summary

Kirby is an open-source content management system. Prior to versions 4.9.0 and 5.4.0, Kirby's user permissions control which user role is allowed to perform specific actions to content models in the CMS. These permissions are defined for each role in the user blueprint (`site/blueprints/users/...`). It is also possible to customize the permissions for each target model in the model blueprints (such as in `site/blueprints/pages/...`) using the `options` feature. The permissions and options together control the authorization of user actions. For pages, Kirby provides the `pages.create` and `pages.changeStatus` permissions (among others). In affected releases, Kirby checked these permissions independently and only for the respective action. However the `changeStatus` permission didn't take effect on page creation. New pages are created as drafts by default and need to be published by changing the page status of an existing page draft. This is ensured when the page is created via the Kirby Panel. However the REST API allows to override the `isDraft` flag when creating a new page. This allowed authenticated attackers with the `pages.create` permission to immediately create published pages, bypassing the normal editorial workflow. The problem has been patched in Kirby 4.9.0 and Kirby 5.4.0. Kirby has updated the `Options` logic to no longer double-resolve queries in option values coming from `OptionsQuery` or `OptionsApi` sources. Kirby now only resolves queries that are directly configured in the blueprints.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00334 26th percentileScored 2026-11-07
Fix Fixed kirby (getkirby): 4.9.0, 5.4.0getkirby/cms (Packagist): 4.9.0, 5.4.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
getkirbykirbybefore 4.9.0; 5.0.0 to before 5.4.04.9.0, 5.4.0Patch availableCNA
—getkirby/cms (Packagist)before 4.9.04.9.0Patch availableGHSA-jcjw-58rv-c452
—getkirby/cms (Packagist)5.0.0 to before 5.4.05.4.0Patch availableGHSA-jcjw-58rv-c452
  • kirby Vendorgetkirby Affected before 4.9.0; 5.0.0 to before 5.4.0 Fixed in 4.9.0, 5.4.0 Patch available CNA
  • getkirby/cms (Packagist) Vendor— Affected before 4.9.0 Fixed in 4.9.0 Patch available GHSA-jcjw-58rv-c452
  • getkirby/cms (Packagist) Vendor— Affected 5.0.0 to before 5.4.0 Fixed in 5.4.0 Patch available GHSA-jcjw-58rv-c452

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*before 4.9.0; 5.0.0 to before 5.4.0Vulnerablegetkirby
  • cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* Versions before 4.9.0; 5.0.0 to before 5.4.0 Vulnerable ·getkirby

Remediation

  • Fix · CNA kirby (getkirby) Fixed in 4.9.0, 5.4.0
  • Fix · GHSA-jcjw-58rv-c452 getkirby/cms (Packagist) Fixed in 4.9.0 Advisory →
  • Fix · GHSA-jcjw-58rv-c452 getkirby/cms (Packagist) Fixed in 5.4.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-34587
  2. 2026-10-03 Alias added: GHSA-jcjw-58rv-c452

References

  • TI-2024-17440 An arbitrary file upload vulnerability in the Profile Image module of Kirby CMS v4.1.0… CVSS 3.1HIGH 8.8
  • TI-2024-17439 An HTML injection vulnerability exists in the Edit Content Layout module of Kirby CMS… CVSS 3.1HIGH 7.1
  • TI-2026-23396 Kirby CMS through 5.1.4 allows an authenticated user with 'Editor' permissions to cause a… CVSS 3.1MEDIUM 6.5
  • TI-2024-17441 A stored cross-site scripting (XSS) vulnerability in the Edit Content Layout module of… CVSS 3.1MEDIUM 6.1
  • TI-2018-10413 An issue was discovered in Kirby 2.5.12. CVSS 3.1MEDIUM 5.4
  • TI-2024-17438 Kirby CMS v4.1.0 was discovered to contain a reflected self-XSS vulnerability via the URL parameter. CVSS 3.1MEDIUM 4.7
See all 40 →

Sources