# CVE-2024-53276: GHSL-2024-092: Open CORS policy in home-gallery

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA: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.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-12-23T17:13:46.115Z
- Modified: 2026-06-17T08:08:44.413Z
- Weaknesses: CWE-942
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Home-Gallery.org is a self-hosted open-source web gallery to browse personal photos and videos. In 1.15.0 and earlier, an open CORS policy in app.js may allow an attacker to view the images of home-gallery when it is using the default settings. The following express middleware allows any website to make a cross site request to home-gallery, thus allowing them to read any endpoint on home-gallery. Home-gallery is mostly safe from cross-site requests due to most of its pages requiring JavaScript, and cross-site requests such as fetch() do not render javascript. If an attacker is able to get the path of the preview images which are randomized, an attacker will be able to view such a photo. If any static files or endpoints are introduced in the future that contain sensitive information, they will be accessible to an attacker website.

(As written by CVE List.)

## Affected

- xemle home-gallery: <= 1.15.0

## References

- <https://securitylab.github.com/advisories/GHSL-2024-091_GHSL-2024-092_home-gallery/>
- <https://github.com/xemle/home-gallery/blob/v1.15.0/packages/server/src/app.js#L45>

## Sources

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

---

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