What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
The Olive System 診断ジェネレータ作成プラグイン (Diagnostic Generator Creation Plugin) versions 1.4.16 and earlier contain a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other users, including administrators. The vulnerability affects the plugin's scope across the application, allowing attackers to steal session tokens, modify content, or perform actions on behalf of victims.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers and steal their session data or perform actions on their behalf.
Potential impact on your site
04Site Impact
Authenticated attackers can compromise administrator accounts and modify site content or settings without detection.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege user account on the site; no user interaction required from the victim.
Key dates
06Disclosure timeline
May 20, 2026
CVE published
May 20, 2026
Record updated