CVE-2026-137004: MathML Block <= 1.2.4 - Unauthenticated Stored DOM-Based Cross-Site Scripting via Comment Field

Published Dec 2, 2026
·
Updated

The MathML Block plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 1.2.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires the targeted post to contain the plugin's MathML block, and after one initial comment approval by a moderator, WordPress core's default commentpreviouslyapproved behavior will auto-approve subsequent comments from the same visitor, making the payload live without further moderator action.

Affected Software

1 affected component
MathML Block<=1.2.4

Event History

Dec 2, 2026
CVE Published
via MITRE·11:30 AM
Data Sourced
via MITRE·11:30 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions must be met for exploitation to succeed?

The targeted post must contain the MathML Block plugin's MathML block. An attacker can submit the malicious content through the comment parameter without authentication, but the comment must become approved before the injected script is live.

2

Can later malicious comments be published without repeated moderator approval?

Yes. After a moderator approves one initial comment from a visitor, WordPress core's default comment_previously_approved behavior can automatically approve subsequent comments from that same visitor, allowing later payloads to become live without further moderator action.

3

Who is exposed to the injected script?

Any user who accesses a page containing both the MathML block and an approved malicious comment may execute the attacker-controlled script in their browser.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203