Katalog CVE

CVE-2026-32870

WysokieCVSS 7.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.35%

Percentyl 28 - wyżej niż 28% wszystkich znanych CVE

Streszczenie

Metoda Xml::value() w Kirby miała specjalne traktowanie bloków CDATA, które można było oszukać, aby przepuścić wartości zawierające prawidłowy blok CDATA wraz z innymi danymi strukturalnymi poza nim. Omijało to ochronę wartości w metodach Xml::tag(), Xml::create() i handlerze danych XML. Problem naprawiono w wersjach 4.9.0 i 5.4.0.

Ocena ryzyka

Jeśli witryna lub wtyczka generuje XML z danych wejściowych, atakujący może wstrzyknąć dane strukturalne i wpłynąć na zachowanie systemu przetwarzającego ten XML. Witryny nieużywające generowania XML nie są zagrożone.

Rekomendacja

Zaktualizuj Kirby do wersji 4.9.0 lub 5.4.0. Przejrzyj kod witryny i wtyczek pod kątem użycia Xml::value(), Xml::tag(), Xml::create() i handlera danych XML.

Inne podatności w Kirby

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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's behavior is possible. Kirby sites that don't use XML generation in site or plugin code are not affected. The problem has been patched in Kirby 4.9.0 and Kirby 5.4.0. In all of the mentioned releases, Kirby has added additional checks that only allow unchanged `CDATA` passthrough if the entire string is made up of valid `CDATA` blocks and no structured data. This protects all uses of the method against the described vulnerability.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS