Skip to content

CVE-2025-13401 Autoptimize <= 3.1.13 - Authenticated (Contributor+) Stored Cross-Site Scripting

MediumCVSS 6.4 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
WordPress

Description

The Autoptimize plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the LCP Image to preload metabox in all versions up to, and including, 3.1.13 due to insufficient input sanitization and output escaping on user-supplied image attributes in the "create_img_preload_tag" function. 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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
optimizingmatters Autoptimize <= 3.1.13 after 3.1.13 Fixed
wordpress autoptimize(WordPress) < 3.1.14 3.1.14 Fixed

Affected products

ProductAffected versionsFixed in
wordpress autoptimize(WordPress) < 3.1.14 3.1.14
optimizingmatters Autoptimize <= 3.1.13 No fix listed

References