CVE-2026-5293: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
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 Analysis
Technical Summary
CVE-2026-5293 is a stored XSS vulnerability in the Diagnosis Generator WordPress plugin caused by inadequate authorization and input sanitization in the themeFunc() function. This function processes theme update requests without verifying user capabilities, allowing low-privileged authenticated users to inject arbitrary JavaScript into theme files. The vulnerability is exacerbated by the save() function's use of stripslashes(), which disables WordPress's default magic quotes protection. Exploitation results in persistent script injection that executes when pages with the diagnosis form shortcode are accessed.
Potential Impact
An attacker with subscriber-level access or higher can inject malicious scripts into theme files, leading to persistent cross-site scripting attacks. This can compromise the confidentiality and integrity of user interactions on affected pages. The vulnerability does not affect availability and requires authentication, but the low privilege level needed increases risk.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is released, restrict plugin usage to trusted users only and consider removing or disabling the plugin if possible to prevent exploitation.
CVE-2026-5293: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
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-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-5293 is a stored XSS vulnerability in the Diagnosis Generator WordPress plugin caused by inadequate authorization and input sanitization in the themeFunc() function. This function processes theme update requests without verifying user capabilities, allowing low-privileged authenticated users to inject arbitrary JavaScript into theme files. The vulnerability is exacerbated by the save() function's use of stripslashes(), which disables WordPress's default magic quotes protection. Exploitation results in persistent script injection that executes when pages with the diagnosis form shortcode are accessed.
Potential Impact
An attacker with subscriber-level access or higher can inject malicious scripts into theme files, leading to persistent cross-site scripting attacks. This can compromise the confidentiality and integrity of user interactions on affected pages. The vulnerability does not affect availability and requires authentication, but the low privilege level needed increases risk.
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is released, restrict plugin usage to trusted users only and consider removing or disabling the plugin if possible to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-31T20:22:03.814Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0d1a61ba1db473621f7aa9
Added to database: 5/20/2026, 2:20:17 AM
Last enriched: 5/20/2026, 2:48:55 AM
Last updated: 5/20/2026, 6:17:00 PM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.