WordPress Plugin Vulnerabilities

Autoptimize < 3.1.16 - Unauthenticated Stored XSS via Comment Author Name

Description

The plugin is vulnerable to Stored Cross-Site Scripting via Comment Author Name 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. Exploitation requires an administrator to have enabled the 'Lazy-load images?' option, the w3-total-cache/w3-total-cache.php file to be present on disk with that plugin disabled, a class named Minify_HTML to be loaded into scope by another plugin, and the malicious comment to be approved by a moderator before the payload renders.

Affects Plugins

Fixed in 3.1.16

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
theviper17y
Verified
No

Timeline

Publicly Published
2026-10-01 (about 16 days ago)
Added
2026-10-02 (about 15 days ago)
Last Updated
2026-10-02 (about 15 days ago)

Other