CVE-2026-5293
Description
The 診断ジェネレータ作成プラグイン (Diagnosis Generator) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'js' parameter in versions up to and including 1.4.16. This is due to missing authorization checks and insufficient input sanitization in the themeFunc() function. The function is hooked to 'admin_init' and processes theme update requests without verifying user capabilities, allowing any authenticated user (including subscribers) to save malicious JavaScript to theme files. Additionally, the save() function uses stripslashes() which removes WordPress's magic quotes protection. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in theme files that will execute whenever a user accesses a page containing the diagnosis form shortcode.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2<=1.4.16+ 1 more
- (no CPE)range: <=1.4.16
- (no CPE)range: <=1.4.16
Patches
Vulnerability mechanics
References
9- plugins.trac.wordpress.org/browser/os-diagnosis-generator/tags/1.4.16/class/themeClass.phpnvd
- plugins.trac.wordpress.org/browser/os-diagnosis-generator/tags/1.4.16/class/themeClass.phpnvd
- plugins.trac.wordpress.org/browser/os-diagnosis-generator/tags/1.4.16/diagnosisAdminClass.phpnvd
- plugins.trac.wordpress.org/browser/os-diagnosis-generator/tags/1.4.16/include_files/user-viewFormPage.phpnvd
- plugins.trac.wordpress.org/browser/os-diagnosis-generator/trunk/class/themeClass.phpnvd
- plugins.trac.wordpress.org/browser/os-diagnosis-generator/trunk/class/themeClass.phpnvd
- plugins.trac.wordpress.org/browser/os-diagnosis-generator/trunk/diagnosisAdminClass.phpnvd
- plugins.trac.wordpress.org/browser/os-diagnosis-generator/trunk/include_files/user-viewFormPage.phpnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/c5293c0f-90b0-41df-a623-90297d998c41nvd
News mentions
1- Wordfence Intelligence Weekly WordPress Vulnerability Report (May 18, 2026 to May 24, 2026)Wordfence Blog · May 28, 2026