CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2026-32870

High
Published: Translated: NVD NIST

Summary

Kirby to system zarządzania treścią typu open-source. Metoda `Xml::value()` w Kirby ma specjalne traktowanie bloków `<![CDATA[ ]]>`. W wersjach przed 4.9.0 i 5.4.0 istniała możliwość oszukania tego sprawdzenia, co pozwalało na przekazywanie wartości zawierających zarówno poprawny blok `CDATA`, jak i inne dane strukturalne poza tym blokiem.

Risk Assessment

Organizacje mogą być narażone na manipulację danymi XML, co może prowadzić do nieautoryzowanego dostępu lub nieprawidłowego przetwarzania danych. To może wpłynąć na bezpieczeństwo aplikacji oraz integralność danych.

Recommendation

Zaleca się aktualizację do wersji Kirby 4.9.0 lub 5.4.0, aby usunąć tę podatność. Dodatkowo, warto przeanalizować kod wtyczek i stron, które mogą korzystać z metod `Xml::value()`, aby upewnić się, że nie są narażone na ataki.

Related vulnerabilities

Original NVD description (English source)

Kirby is an open-source content management system. Kirby's `Xml::value()` method has special handling for `<![CDATA[ ]]>` blocks. If the input value is already valid `CDATA`, it is not escaped a second time but allowed to pass through. However, prior to versions 4.9.0 and 5.4.0, it was possible to trick this check into allowing values that only contained a valid `CDATA` block but also contained other structured data outside of the `CDATA` block. This structured data would then also be allowed to pass through, circumventing the value protection. The `Xml::value()` method is used in `Xml::tag()`, `Xml::create()` and in the `Xml` data handler (e.g. `Data::encode($string, 'xml')`). Both the vulnerable methods and the data handler are not used in the Kirby core. However they may be used in site or plugin code, e.g. to create XML strings from input data. If those generated files are passed to another implementation that assigns specific meaning to the XML schema, manipulation of this system'

Vulnerability data from NVD (NIST) · CISA KEV · EPSS