WP Meteor Website Speed Optimization Addon <= 3.4.18 - Authenticated (Contributor+) Stored Cross-Site Scripting via onload/onerror Attribute Rewriting
- ID
- WPSEC-2026-0467
- Plugin
- WP Meteor Website Speed Optimization Addon (wp-meteor)
- Affected
- from 3.0.6 before 3.4.19
- Remediation
- Update to 3.4.19 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-10-06
- Attack surface
- WP Meteor Website Speed Optimization Addon on WPSec AttackSurface
- Fix released
- Published
Description
The WP Meteor Website Speed Optimization Addon plugin for WordPress is vulnerable to Stored Cross-Site Scripting via its output-buffer rewriting of onload and onerror handlers on html, body, img and iframe tags in all versions up to, and including, 3.4.18. This is due to a naive regular expression that also rewrites ' onload=' or ' onerror=' text found inside quoted attribute values and inserts a double-quoted handler string there. Because the attacker's text is only an attribute value when it is saved, it passes kses filtering. The rewrite then lets it break out of the attribute and become a real event handler. 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.
References
- https://wpsec.com/vuln/WPSEC-2026-0467/
- https://plugins.svn.wordpress.org/wp-meteor/tags/3.4.19/
- https://wordpress.org/plugins/wp-meteor/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS