Skip to main content

Diagnosis Generator EUVDEUVD-2026-31034

| CVE-2026-5293 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-20 Wordfence GHSA-9hmw-83v5-qm22
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register or obtain subscriber-level WordPress account
  2. Delivery
    Send crafted POST to wp-admin triggering admin_init hook
  3. Exploit
    themeFunc() writes malicious JS payload to theme file (no capability check, stripslashes() strips escaping)
  4. Execution
    Victim visits page with diagnosis form shortcode
  5. Persist
    Stored XSS payload executes in victim browser
  6. Impact
    Session cookie or credential exfiltration to attacker server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress account at subscriber level or above - confirmed by the CVSS PR:L vector. The Diagnosis Generator plugin must be installed and activated on the target WordPress instance running a version at or below 1.4.16. At least one published page or post must include the plugin's diagnosis form shortcode for the stored payload to execute against site visitors; without the shortcode in active content, the injected theme code will not be triggered in visitor browsers. The attacker must be able to reach the WordPress admin area (wp-admin/admin-ajax.php or equivalent admin-init endpoints), which is accessible to any authenticated user by default regardless of role. On sites where open user registration is disabled and all subscriber-level accounts are trusted, practical exploitation is limited to insider threats or account compromise scenarios. On sites with open registration, the subscriber requirement provides no meaningful barrier.

Impact

The CVSS 6.4 Medium score is derived from AV:N (network-reachable), AC:L (no special conditions), PR:L (subscriber-level authentication), UI:N (no victim interaction required to inject), and S:C (changed scope - the attacker's payload affects users other than themselves). The changed scope designation correctly captures the cross-user persistence of the stored XSS. On its face, PR:L limits the attack surface, but on WordPress sites with open user registration this becomes effectively unauthenticated in practice, since any visitor can self-register a subscriber account in seconds. No EPSS score was provided in the input data, so exploitation probability cannot be quantified from that signal. This CVE is not listed in the CISA KEV catalog and no public exploit code has been identified, reducing urgency relative to actively exploited issues. However, the stored nature of the XSS - payload written permanently to theme files rather than reflected - means a single successful exploitation persists across all future page visits, amplifying real-world impact beyond a typical reflected XSS. The absence of a confirmed patch as of this analysis further elevates priority for affected site operators.

Exploit ScenarioDerived

An attacker registers a free subscriber account on the target WordPress site (or uses any existing low-privilege credential) and submits a POST request to wp-admin with action=themeFunc and a malicious JavaScript payload in the 'js' parameter - for example, a script that exfiltrates session cookies to an attacker-controlled server. The themeFunc() method, lacking any capability check, writes the payload into a theme file. From that point forward, every visitor who loads a page containing the diagnosis form shortcode silently executes the attacker's script, enabling session hijacking, credential harvesting, or further malicious redirects at scale. No public exploit code has been identified, but the attack path is straightforward for anyone familiar with WordPress hook mechanics.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 20, 2026

Stored Cross-Site Scripting in the Diagnosis Generator (診断ジェネレータ作成プラグイン) WordPress plugin allows any subscriber-level authenticated user to write arbitrary JavaScript into WordPress theme files by exploiting a missing capability check in themeFunc(). The payload persists in theme files and executes in every site visitor's browser upon loading any page containing the diagnosis form shortcode, giving a single low-privilege attacker persistent, cross-user script execution. No public exploit has been identified at time of analysis, but the subscriber-level access requirement makes this a broad risk on any WordPress site with open user registration.

RemediationAI

No vendor-released patch has been identified at time of analysis - the WordPress Plugin SVN trunk and 1.4.16 tag both appear to contain the vulnerable code, and no fixed release version is referenced in any available advisory. The primary recommended action is to deactivate and remove the Diagnosis Generator plugin immediately until a patched version is confirmed available. Monitor the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/c5293c0f-90b0-41df-a623-90297d998c41 for patch release notification. If the plugin cannot be removed, disable open user registration (WordPress Settings > General > uncheck 'Anyone can register') and audit all existing subscriber-level accounts to reduce the pool of potential attackers - note this does not eliminate risk if any legitimate subscriber account is compromised. Deploying a WAF rule to block POST requests containing JavaScript constructs (script tags, event handlers, javascript: URIs) in the 'js' parameter targeting wp-admin endpoints provides partial mitigation but can be bypassed by encoding variations. Conduct a forensic review of active theme files for unexpected JavaScript content to detect prior exploitation.

Affected VersionsENISA

診断ジェネレータ作成プラグイン 0 ≤1.4.16

Affected Packages

euvd 診断ジェネレータ作成プラグイン no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in themeClass.php (lines 26 and 39) and diagnosisAdminClass.php (line 409) of the os-diagnosis-generator WordPress plugin by olivesystem (CPE: cpe:2.3:a:olivesystem:診断ジェネレータ作成プラグイン). The themeFunc() method is registered as a WordPress admin_init hook, which fires for any authenticated request to the admin area - including requests from subscriber-level users who have no legitimate administrative capability. The function processes theme update requests and writes the attacker-controlled 'js' parameter value to theme files without invoking current_user_can() or verifying a nonce. The save() function compounds the flaw by calling stripslashes() on input, deliberately removing WordPress's built-in magic quotes escaping, which would otherwise neutralize injected quote characters. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause class: unsanitized user input is written to a server-side file and subsequently served as executable JavaScript to all visitors who load a page containing the [diagnosis form] shortcode, as confirmed by the vulnerable rendering path at include_files/user-viewFormPage.php line 102.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary rating from Vendor (Wordfence) · only source for this CVE.

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy