# Asset CleanUp: Page Speed Booster <= 1.4.0.6 - Unauthenticated Stored Cross-Site Scripting via Comment Content

- **ID:** WPSEC-2026-3168
- **Plugin:** Asset CleanUp: Page Speed Booster (`wp-asset-clean-up`), https://wordpress.org/plugins/wp-asset-clean-up/
- **Affected versions:** all versions before 1.4.0.7
- **Fixed in:** 1.4.0.7 (Update to 1.4.0.7 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-15)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-asset-clean-up
- **Fix released:** 2026-11-14
- **Published:** 2026-11-15
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3168/

## Description

The Asset CleanUp: Page Speed Booster plugin for WordPress is vulnerable to Stored Cross-Site Scripting via published comment content in all versions up to, and including, 1.4.0.6. This is due to document-wide regular expressions that remove the plugin's temporary data-wpacu-style-handle and data-wpacu-script-rel-src-before attributes from the whole page instead of only from the plugin's own LINK/SCRIPT tags. Comment text containing these markers can have its attribute quoting rewritten, which turns sanitized comment markup into executable HTML. This makes it possible for unauthenticated attackers, where comments are open and published, to inject arbitrary web scripts in pages that will execute whenever a user accesses an affected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-3168/
- https://plugins.svn.wordpress.org/wp-asset-clean-up/tags/1.4.0.7/
- https://wordpress.org/plugins/wp-asset-clean-up/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3168/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
