CVE-2026-6405
ŚrednieCVSS 4.3Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 6 - wyżej niż 6% wszystkich znanych CVE
Streszczenie
Wtyczka WordPress Anomify AI – Anomaly Detection and Alerting do wersji 0.3.6 włącznie jest podatna na Cross-Site Request Forgery (CSRF) prowadzący do Stored Cross-Site Scripting (XSS). Brak weryfikacji nonce w handlerze strony ustawień oraz niedostateczne kodowanie wyjścia w szablonie admin_options.php umożliwiają nieuwierzytelnionym atakującym wstrzyknięcie złośliwych skryptów poprzez oszukanie administratora.
Ocena ryzyka
Atakujący może zmienić ustawienia wtyczki i wstrzyknąć trwały skrypt, który będzie wykonywany w przeglądarce administratora przy każdej wizycie na stronie ustawień, co może prowadzić do przejęcia konta administratora.
Rekomendacja
Zaktualizuj wtyczkę Anomify AI do najnowszej dostępnej wersji. Dodaj weryfikację nonce do formularzy ustawień i stosuj funkcję esc_attr() do kodowania danych wyjściowych.
Oryginalny opis (angielski, źródło NVD)
The Anomify AI – Anomaly Detection and Alerting plugin for WordPress is vulnerable to Cross-Site Request Forgery (CSRF) leading to Stored Cross-Site Scripting (XSS) in versions up to and including 0.3.6. This is due to missing nonce verification on the settings page handler and insufficient output escaping in the admin_options.php template. The settings form includes no wp_nonce_field() and the handler performs no check_admin_referer() check, meaning any cross-origin POST can modify plugin settings. The API key field is sanitized only with sanitize_text_field(), which strips HTML tags but does not encode double-quote characters; the value is then rendered into an HTML attribute via bare echo without esc_attr(), allowing a double-quote attribute-escape payload to survive both sanitization and storage. This makes it possible for unauthenticated attackers to inject arbitrary web scripts by tricking a logged-in administrator into visiting a malicious page that submits a forged request, storing the payload in the database and causing it to execute in the administrator's browser whenever the plugin settings page is visited.

