WebP Express <= 0.25.16 - Authenticated (Contributor+) Stored Cross-Site Scripting via Image HTML Attributes
- ID
- WPSEC-2026-4669
- Plugin
- WebP Express (webp-express)
- Affected
- from 0.11.0 before 0.25.17
- Remediation
- Update to 0.25.17 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/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-12-05
- Attack surface
- WebP Express on WPSec AttackSurface
- Fix released
- Published
Description
The WebP Express plugin for WordPress is vulnerable to Stored Cross-Site Scripting via HTML attributes of <img> tags in all versions up to, and including, 0.25.16, due to insufficient output escaping in the bundled dom-util-for-webp library, which decodes image attribute values and writes them back unescaped when it replaces <img> tags with <picture> tags. 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. Exploitation requires the 'Alter HTML' feature to be enabled with the 'Replace <img> tags with <picture> tags' option selected.
References
- https://wpsec.com/vuln/WPSEC-2026-4669/
- https://plugins.svn.wordpress.org/webp-express/tags/0.25.17/
- https://wordpress.org/plugins/webp-express/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS