# CVE-2024-0662: The FancyBox for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in versions 3.0.2 to 3.3.3…

- Severity: Medium 4.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/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.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2024-04-09T18:58:49.288Z
- Modified: 2026-06-17T06:53:59.537Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

The FancyBox for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in versions 3.0.2 to 3.3.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

(As written by CVE List.)

## Affected

- colorlibplugins FancyBox for WordPress: from 3.0.2 up to 3.3.3
- colorlib fancybox: from 3.0.2 before 3.3.3

## Every score

- Wordfence: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/55f8d7e6-7bcd-4556-932b-7bf422db0b39?source=cve> (product)
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3058912%40fancybox-for-wordpress&new=3058912%40fancybox-for-wordpress&sfp_email=&sfph_mail=> (patch)

## Sources

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

---

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