Home

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.

PUBLISHED Reserved 2026-03-31 | Published 2026-05-20 | Updated 2026-05-20 | Assigner Wordfence




MEDIUM: 6.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-05-19:Disclosed

Credits

Nabil Irawan finder

References

www.wordfence.com/...-90b0-41df-a623-90297d998c41?source=cve

plugins.trac.wordpress.org/.../trunk/diagnosisAdminClass.php

plugins.trac.wordpress.org/...1.4.16/diagnosisAdminClass.php

plugins.trac.wordpress.org/...tor/trunk/class/themeClass.php

plugins.trac.wordpress.org/...gs/1.4.16/class/themeClass.php

plugins.trac.wordpress.org/...tor/trunk/class/themeClass.php

plugins.trac.wordpress.org/...gs/1.4.16/class/themeClass.php

plugins.trac.wordpress.org/...de_files/user-viewFormPage.php

plugins.trac.wordpress.org/...de_files/user-viewFormPage.php

cve.org (CVE-2026-5293)

nvd.nist.gov (CVE-2026-5293)

Download JSON