{"id":"CVE-2021-24378","aliases":["EUVD-2021-11290","GHSA-27r4-rp49-685c"],"status":"published","title":"Autoptimize \u003c 2.7.8 - Authenticated Stored XSS via File Upload","description":"The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded via the 'Import Settings' feature. As a result, it is possible for a high privilege user to upload a malicious file containing JavaScript code inside an archive which will execute when a victim visits index.html inside the plugin directory.","severity":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00617,"percentile":0.49929,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2021-06-21T19:18:24Z","modified":"2026-06-17T03:39:55Z","products":[{"vendor":"autoptimize","product":"autoptimize"},{"vendor":"optimizingmatters","product":"autoptimize"},{"vendor":"unknown","product":"autoptimize"}],"references":[{"url":"https://wpscan.com/vulnerability/375bd694-1a30-41af-bbd4-8a8ee54f0dbf","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24378"},{"url":"https://github.com/advisories/GHSA-27r4-rp49-685c"}],"sources":{"cve":[{"id":"CVE-2021-24378","title":"Autoptimize \u003c 2.7.8 - Authenticated Stored XSS via File Upload","description":"The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded via the 'Import Settings' feature. As a result, it is possible for a high privilege user to upload a malicious file containing JavaScript code inside an archive which will execute when a victim visits index.html inside the plugin directory.","status":"published","published":"2021-06-21T19:18:24Z","modified":"2024-08-03T19:28:23.784Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:05.331617Z"}],"euvd":[{"id":"EUVD-2021-11290","description":"The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded via the 'Import Settings' feature. As a result, it is possible for a high privilege user to upload a malicious file containing JavaScript code inside an archive which will execute when a victim visits index.html inside the plugin directory.","status":"published","published":"2021-06-21T19:18:24Z","modified":"2024-08-03T19:28:23Z","updated_at":"2026-11-03T03:24:57.947294Z"}],"ghsa":[{"id":"GHSA-27r4-rp49-685c","title":"The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in...","description":"The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded via the 'Import Settings' feature. As a result, it is possible for a high privilege user to upload a malicious file containing JavaScript code inside an archive which will execute when a victim visits index.html inside the plugin directory.","status":"published","published":"2022-05-24T19:05:47Z","modified":"2023-01-29T05:08:04Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:46:12.058225Z"}],"nvd":[{"id":"CVE-2021-24378","description":"The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded via the 'Import Settings' feature. As a result, it is possible for a high privilege user to upload a malicious file containing JavaScript code inside an archive which will execute when a victim visits index.html inside the plugin directory.","status":"published","published":"2021-06-21T20:15:09.187Z","modified":"2026-06-17T03:39:55.683Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:54.892562Z"}]}}
