Medium severity6.4NVD Advisory· Published Apr 15, 2026· Updated Apr 22, 2026
CVE-2026-3998
CVE-2026-3998
Description
The WM JqMath plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'style' shortcode attribute of the [jqmath] shortcode in all versions up to and including 1.3. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. The generate_jqMathFormula() function directly concatenates the 'style' attribute value into an HTML style attribute without applying esc_attr() or any other escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- plugins.trac.wordpress.org/browser/wm-jqmath/tags/1.3/wm_jqmath.phpnvd
- plugins.trac.wordpress.org/browser/wm-jqmath/tags/1.3/wm_jqmath.phpnvd
- plugins.trac.wordpress.org/browser/wm-jqmath/trunk/wm_jqmath.phpnvd
- plugins.trac.wordpress.org/browser/wm-jqmath/trunk/wm_jqmath.phpnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/b4aebb45-b47b-4b5a-8281-400a4b786689nvd
News mentions
1- Wordfence Intelligence Weekly WordPress Vulnerability Report (April 13, 2026 to April 19, 2026)Wordfence Blog · Apr 23, 2026