{"id":"CVE-2025-13401","aliases":["EUVD-2025-200973","GHSA-w95g-m3rh-jhrr"],"status":"published","title":"Autoptimize \u003c= 3.1.13 - Authenticated (Contributor+) Stored Cross-Site Scripting","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.","severity":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00315,"percentile":0.24694,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-79"],"published":"2025-12-03T13:52:44Z","modified":"2026-10-18T17:10:00Z","exploits":[{"source":"pocgithub","id":"ciscocamelo/CVE-2025-13401-XSS-Stored","title":"ciscocamelo/CVE-2025-13401-XSS-Stored","date":"2025-12-11","url":"https://github.com/ciscocamelo/CVE-2025-13401-XSS-Stored"}],"products":[{"vendor":"optimizingmatters","product":"autoptimize"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/6ed5bdb3-c4cd-4982-bc47-feeff527e284?source=cve"},{"url":"https://plugins.trac.wordpress.org/changeset/3401333/autoptimize"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13401"},{"url":"https://github.com/advisories/GHSA-w95g-m3rh-jhrr"}],"sources":{"cve":[{"id":"CVE-2025-13401","title":"Autoptimize \u003c= 3.1.13 - Authenticated (Contributor+) Stored Cross-Site Scripting","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.","status":"published","published":"2025-12-03T13:52:44.692Z","modified":"2026-04-08T16:59:48.496Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:43.437394Z"}],"euvd":[{"id":"EUVD-2025-200973","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.","status":"published","published":"2025-12-03T13:52:44Z","modified":"2026-04-08T16:59:48Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:24:54.279102Z"}],"ghsa":[{"id":"GHSA-w95g-m3rh-jhrr","title":"The Autoptimize plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the LCP...","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.","status":"published","published":"2025-12-03T15:30:28Z","modified":"2025-12-03T15:30:36Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:05:01.323335Z"}],"nvd":[{"id":"CVE-2025-13401","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.","status":"published","published":"2025-12-03T14:15:48.477Z","modified":"2026-10-18T17:10:00.11Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:47.746175Z"}]}}
