{"id":"CVE-2025-13401","aliases":["CVE-2025-13401"],"related":[],"kind":"vulnerability","state":"published","title":"Autoptimize <= 3.1.13 - Authenticated (Contributor+) Stored Cross-Site Scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin Autoptimize para WordPress es vulnerable a cross-site scripting almacenado a través del metabox “LCP Image to preload” en todas las versiones hasta la 3.1.13, inclusive, debido a una sanitización de entrada y un escape de salida insuficientes en los atributos de imagen proporcionados por el usuario en la función “create_img_preload_tag”. Esto hace posible que atacantes autenticados, con acceso de nivel de colaborador y superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada.","source":"nvd"}],"published":"2025-12-03T13:52:44.692Z","modified":"2026-10-18T17:10:00.110Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"3.1.13","status":"affected"}],"vendor":"optimizingmatters","product":"Autoptimize","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/6ed5bdb3-c4cd-4982-bc47-feeff527e284?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3401333/autoptimize","tags":[],"sources":["cvelist","nvd"]}],"credits":["Muhammad Yudha - DJ"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-12-03T14:47:52.328Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-13401","url":"https://www.cve.org/CVERecord?id=CVE-2025-13401","licence":"CVE Terms of Use","modified":"2026-04-08T16:59:48.496Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-13401","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13401","licence":"Public domain","modified":"2026-10-18T17:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:08.223Z","epss":{"score":0.00315,"percentile":0.26409,"date":"2026-12-01T12:00:22.000Z"}}