CVE-2026-5293 診断ジェネレータ作成プラグイン <= 1.4.16 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'js' Parameter
Authenticated subscribers can inject malicious scripts into theme files via the js parameter, leading to stored XSS execution for other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-5293?
CVE-2026-5293 is a medium-severity cross-site scripting vulnerability in olivesystem 診断ジェネレータ作成プラグイン, published on 20 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-5293?
How do I fix CVE-2026-5293?
No fix has been published for CVE-2026-5293 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-5293 being exploited?
There is no known exploitation of CVE-2026-5293 in the wild and no public exploit code.
Sources
Also known as GHSA-9hmw-83v5-qm22.