CVE-2024-53276

GHSL-2024-092: Open CORS policy in home-gallery

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.

Category

6.3
CVSS
Severity: Medium
CVSS 4.0 •
EPSS 0.01%
Affected: xemle home-gallery
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-53276?
CVE-2024-53276 has been scored as a medium severity vulnerability.
How to fix CVE-2024-53276?
To fix CVE-2024-53276, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-53276 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-53276 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-53276?
CVE-2024-53276 affects xemle home-gallery.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.