WP QuickLaTeX <= 3.8.8 - Unauthenticated Stored Cross-Site Scripting via Equation Numbers and Labels
- ID
- WPSEC-2026-3176
- Plugin
- WP QuickLaTeX (wp-quicklatex)
- Affected
- from 3.7.1 before 3.8.9
- Remediation
- Update to 3.8.9 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Low among sites WPSec scans, 2026-11-16
- Attack surface
- WP QuickLaTeX on WPSec AttackSurface
- Fix released
- Published
Description
The WP QuickLaTeX plugin for WordPress is vulnerable to Stored Cross-Site Scripting via equation numbers and labels (set with \tag{}, or with the eqno, eqlabel, reqno and leqno attributes, including inside \quicklatex{}) in all versions up to, and including, 3.8.8. The plugin decodes HTML entities in formula text and then writes these values into the rendered equation markup and \ref{} links without escaping. Because the parser also runs on comment text, entity-encoded markup survives WordPress's comment filtering. This makes it possible for unauthenticated attackers to post comments that inject arbitrary web scripts. The scripts run whenever a user views the comment, including administrators moderating it.
References
- https://wpsec.com/vuln/WPSEC-2026-3176/
- https://plugins.svn.wordpress.org/wp-quicklatex/tags/3.8.9/
- https://wordpress.org/plugins/wp-quicklatex/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS