CVE-2025-13401
Last modified
CVE-2025-13401 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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.. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-13401?
How severe is CVE-2025-13401?
How do I fix CVE-2025-13401?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-13395A security flaw has been discovered in codehub666 94list up …7.3
- CVE-2025-13396A weakness has been identified in code-projects Courier Mana…9.8
- CVE-2025-13397A security vulnerability has been detected in mrubyc up to 3…5.5
- CVE-2025-13399A weakness in the web interface’s application layer encrypti…8.8
- CVE-2025-1340A vulnerability classified as critical has been found in TOT…8.8
- CVE-2025-13400A vulnerability was detected in Tenda CH22 1.0.0.1. Affected…9.8
- CVE-2025-13403The Employee Spotlight – Team Member Showcase & Meet the Tea…4.3
- CVE-2025-13404The atec Duplicate Page & Post plugin for WordPress is vulne…5.3
- CVE-2025-13405The Ace Post Type Builder plugin for WordPress is vulnerable…5.3
- CVE-2025-13406NULL Pointer Dereference vulnerability in Softing Industrial…6.8
- CVE-2025-13407The Gravity Forms WordPress plugin before 2.9.23.1 does not …6.8
- CVE-2025-13408The Foxtool All-in-One: Contact chat button, Custom login, M…4.3
Are you affected by CVE-2025-13401?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
