Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/os-diagnosis-generator/tags/1.4.16/cl
- https://plugins.trac.wordpress.org/browser/os-diagnosis-generator/tags/1.4.16/cl
- https://plugins.trac.wordpress.org/browser/os-diagnosis-generator/tags/1.4.16/di
- https://plugins.trac.wordpress.org/browser/os-diagnosis-generator/tags/1.4.16/in
- https://plugins.trac.wordpress.org/browser/os-diagnosis-generator/trunk/class/th
- https://plugins.trac.wordpress.org/browser/os-diagnosis-generator/trunk/class/th
- https://plugins.trac.wordpress.org/browser/os-diagnosis-generator/trunk/diagnosi
- https://plugins.trac.wordpress.org/browser/os-diagnosis-generator/trunk/include_
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c5293c0f-90b0-41df-a62
FAQ
What is CVE-2026-5293?
CVE-2026-5293 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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 author...
How severe is CVE-2026-5293?
CVE-2026-5293 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-5293?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.