# CVE-2024-12060: WP Media Optimizer (.webp) <= 1.4.0 - Reflected Cross-Site Scripting via wpmowebp-css-resources and wpmowebp-js-resources Parameters

- Severity: Medium 6.1 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2024-12-06T08:24:49.945Z
- Modified: 2026-06-17T06:58:58.403Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

The WP Media Optimizer (.webp) plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘wpmowebp-css-resources’ and 'wpmowebp-js-resources' parameters in all versions up to, and including, 1.4.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

(As written by CVE List.)

## Affected

- francescosganga WP Media Optimizer (.webp): up to 1.4.0

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/183d1be9-4c05-4107-b039-3711034ef774?source=cve>
- <https://plugins.trac.wordpress.org/browser/wp-media-optimizer-webp/trunk/wp-media-optimizer-webp.php#L229>
- <https://wordpress.org/plugins/wp-media-optimizer-webp/#developers>

## Sources

- CVE List: [CVE-2024-12060](https://www.cve.org/CVERecord?id=CVE-2024-12060), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-12060](https://nvd.nist.gov/vuln/detail/CVE-2024-12060), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-12060 · Whole record: https://cve.day/CVE-2024-12060.json · Rebuilt by cve.day 2026-11-25T22:58:49.766Z
