# CVE-2024-52794: Magnific lightbox susceptible to Cross-site Scripting in Discourse

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L`
- 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.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2024-12-19T19:12:29.589Z
- Modified: 2026-09-08T08:46:09.214Z
- Also known as: BIT-DISCOURSE-2024-52794, GHSA-m3v4-v2rp-hfm9
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open source platform for community discussion. Users clicking on the lightbox thumbnails could be affected. This problem is patched in the latest version of Discourse. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- discourse discourse: stable: <= 3.3.2; beta: <= 3.4.0.beta3; tests-passed: <= 3.4.0.beta3; before 3.3.2; before 3.4.0; 3.4.0
- discourse (Bitnami): before 3.3.3

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-m3v4-v2rp-hfm9> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52794> (web)

## Sources

- CVE List: [CVE-2024-52794](https://www.cve.org/CVERecord?id=CVE-2024-52794), CVE Terms of Use, modified 2024-12-20
- NVD: [CVE-2024-52794](https://nvd.nist.gov/vuln/detail/CVE-2024-52794), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2024-52794](https://osv.dev/vulnerability/BIT-DISCOURSE-2024-52794), Apache-2.0, modified 2026-09-08

---

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