{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-41318","published":"2023-09-08T20:15:14.693000Z","last_modified":"2026-06-17T06:21:44.677000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:turt2live:matrix-media-repo:*:*:*:*:*:*:*:*","part":"a","vendor":"turt2live","product":"matrix-media-repo","version_end_excluding":"1.3.0"}],"cpes_truncated":false,"vendors":["turt2live"],"products":["turt2live/matrix-media-repo"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00619,"percentile":0.44012,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-5crw-6j7v-xc72","ecosystem":"Go","name":"github.com/turt2live/matrix-media-repo","purl":"pkg:golang/github.com/turt2live/matrix-media-repo","ranges":[{"introduced":"0","fixed":"1.3.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2023-2053","ecosystem":"Go","name":"github.com/turt2live/matrix-media-repo","purl":"pkg:golang/github.com/turt2live/matrix-media-repo","ranges":[{"introduced":"0","fixed":"1.3.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2023-41318/","html_en":"/en/cve/CVE-2023-41318/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-41318","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-41318"},"untrusted":{"vendor_name":"Turt2live","product_name":"Matrix-media-repo","desc_en":"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.","affected":[{"untrusted_vendor":"turt2live","untrusted_product":"matrix-media-repo","versions":[]}],"references":[{"url":"https://developer.mozilla.org/en-US/docs/Web/SVG/Element/script","tags":["Third Party Advisory"]},{"url":"https://github.com/turt2live/matrix-media-repo/commit/77ec2354e8f46d5ef149d1dcaf25f51c04149137","tags":["Patch"]},{"url":"https://github.com/turt2live/matrix-media-repo/commit/bf8abdd7a5371118e280c65a8e0ec2b2e9bdaf59","tags":["Patch"]},{"url":"https://github.com/turt2live/matrix-media-repo/security/advisories/GHSA-5crw-6j7v-xc72","tags":["Vendor Advisory"]}]}}