# CVE-2024-6724: Generate Images – Magic Post Thumbnail < 5.2.8 - Admin+ Stored XSS

- Severity: Medium 4.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:H/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.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-08-13T06:00:02.297Z
- Modified: 2026-06-17T08:18:33.407Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: WPScan

## Description

The Generate Images  WordPress plugin before 5.2.8 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)

(As written by CVE List.)

## Affected

- Unknown Generate Images: before 5.2.8
- magic-post-thumbnail generate_images: before 5.2.8
- magic-post-thumbnail magic_post_thumbnail: before 5.2.8

## References

- <https://wpscan.com/vulnerability/0cb3158a-263d-4c4a-8029-62b453c281cb/> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

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

---

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