CVE-2026-5293
A stored cross-site scripting (XSS) vulnerability in the WordPress plugin 診断ジェネレータ作成プラグイン (Diagnosis Generator) allows authenticated attackers with subscriber-level access or higher to inject arbitrary JavaScript into theme files. The vulnerability exists in versions up to and including 1.4.16. The themeFunc() function, hooked to admin_init, processes theme update requests without proper authorization checks, permitting low-privileged users to save malicious content. Additionally, the save() function uses stripslashes(), which removes WordPress's magic quotes protection, facilitating script injection. Injected scripts execute when any user accesses a page containing the diagnosis form shortcode.