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

CVE-2026-5032

High
Published: Translated: NVD NIST

Summary

Wtyczka W3 Total Cache dla WordPressa jest podatna na ujawnienie informacji we wszystkich wersjach do 2.9.3 włącznie. Problem wynika z pominięcia całego buforowania i przetwarzania wyjścia przez wtyczkę, gdy nagłówek User-Agent zawiera 'W3 Total Cache', co prowadzi do ujawnienia tokena bezpieczeństwa W3TC_DYNAMIC_SECURITY w źródle strony.

Risk Assessment

Ujawnienie tokena W3TC_DYNAMIC_SECURITY umożliwia nieautoryzowanym atakującym odkrycie jego wartości, co może prowadzić do wykonania złośliwego kodu PHP na serwerze, a tym samym do zdalnego wykonania kodu.

Recommendation

Zaleca się aktualizację wtyczki W3 Total Cache do najnowszej wersji oraz monitorowanie nagłówków User-Agent w celu wykrywania potencjalnych prób ataków.

Related vulnerabilities

Original NVD description (English source)

The W3 Total Cache plugin for WordPress is vulnerable to information exposure in all versions up to, and including, 2.9.3. This is due to the plugin bypassing its entire output buffering and processing pipeline when the request's User-Agent header contains "W3 Total Cache", which causes raw mfunc/mclude dynamic fragment HTML comments — including the W3TC_DYNAMIC_SECURITY security token — to be rendered in the page source. This makes it possible for unauthenticated attackers to discover the value of the W3TC_DYNAMIC_SECURITY constant by sending a crafted User-Agent header to any page that contains developer-placed dynamic fragment tags, granted the site has the fragment caching feature enabled. With the leaked W3TC_DYNAMIC_SECURITY token, an attacker can craft valid mfunc tags to execute arbitrary PHP code on the server, achieving remote code execution.

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