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

CVE-2026-1257

High
Published: Translated: NVD NIST

Summary

Wtyczka Administrative Shortcodes dla WordPressa jest podatna na Local File Inclusion we wszystkich wersjach do 0.3.4 włącznie, poprzez atrybut 'slug' shortcode'a 'get_template'. Problem wynika z niewystarczającej walidacji ścieżek w danych wejściowych dostarczonych przez użytkownika do funkcji get_template_part().

Risk Assessment

Atakujący z poziomem dostępu Contributor i wyżej mogą włączyć i wykonać dowolne pliki na serwerze, co umożliwia wykonanie kodu PHP w tych plikach. Może to prowadzić do obejścia kontroli dostępu, uzyskania poufnych danych lub wykonania kodu.

Recommendation

Zaleca się aktualizację wtyczki do najnowszej wersji, aby usunąć tę podatność. Dodatkowo, należy ograniczyć dostęp do wtyczki tylko dla zaufanych użytkowników.

Related vulnerabilities

Original NVD description (English source)

The Administrative Shortcodes plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 0.3.4 via the 'slug' attribute of the 'get_template' shortcode. This is due to insufficient path validation on user-supplied input passed to the get_template_part() function. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other "safe" file types can be uploaded and included.

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