{"id":"EUVD-2023-2431","revision":"2c1529950cf146519d9960606a00a934","records":[{"revision":"2c1529950cf146519d9960606a00a934","observedAt":"2026-11-02T20:58:31.031+00:00","statement":{"source":"euvd","id":"EUVD-2023-2431","aliases":["CVE-2023-41318","GHSA-5crw-6j7v-xc72"],"title":"matrix-media-repo is a highly customizable multi-domain media repository for the Matrix chat ecosystem. In affected versions an attacker could upload a malicious piece of media to the media repo, which would then be served with `Content-Dis…","description":"matrix-media-repo is a highly customizable multi-domain media repository for the Matrix chat ecosystem. In affected versions an attacker could upload a malicious piece of media to the media repo, which would then be served with `Content-Disposition: inline` upon download. This vulnerability could be leveraged to execute scripts embedded in SVG content. Commits `77ec235` and `bf8abdd` fix the issue and are included in the 1.3.0 release. Operators should upgrade to v1.3.0 as soon as possible. Operators unable to upgrade should override the `Content-Disposition` header returned by matrix-media-repo as a workaround.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N","score":4.1,"severity":null}],"references":["https://github.com/turt2live/matrix-media-repo/security/advisories/GHSA-5crw-6j7v-xc72","https://github.com/turt2live/matrix-media-repo/commit/77ec2354e8f46d5ef149d1dcaf25f51c04149137","https://github.com/turt2live/matrix-media-repo/commit/bf8abdd7a5371118e280c65a8e0ec2b2e9bdaf59","https://developer.mozilla.org/en-US/docs/Web/SVG/Element/script"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2431","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Sep 8, 2023, 7:51:20 PM","dateUpdated":"Sep 26, 2024, 2:03:33 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2023-2431","identifiers":["EUVD-2023-2431","CVE-2023-41318","GHSA-5crw-6j7v-xc72"]},"retained":false,"historicalAffected":[]}],"coverage":[]}