{"id":"EUVD-2023-2431","enisaUuid":"9b44fd6c-50dc-391c-9616-7ee4710587f7","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.","datePublished":"Sep 8, 2023, 7:51:20 PM","dateUpdated":"Sep 26, 2024, 2:03:33 PM","baseScore":4.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N","references":"https://github.com/turt2live/matrix-media-repo/security/advisories/GHSA-5crw-6j7v-xc72\nhttps://github.com/turt2live/matrix-media-repo/commit/77ec2354e8f46d5ef149d1dcaf25f51c04149137\nhttps://github.com/turt2live/matrix-media-repo/commit/bf8abdd7a5371118e280c65a8e0ec2b2e9bdaf59\nhttps://developer.mozilla.org/en-US/docs/Web/SVG/Element/script\n","aliases":"CVE-2023-41318\nGHSA-5crw-6j7v-xc72\n","assigner":"GitHub_M","epss":0.52,"enisaIdProduct":[{"id":"1f801f9f-2a93-3734-a8e5-0c9fae0397f1","product":{"name":"matrix-media-repo","vendor":{"name":"t2bot"}},"product_version":"\u003c 1.3.0"}],"enisaIdVendor":[{"id":"72a1719f-5e16-39c2-b0fe-02672c1bfca9","vendor":{"name":"turt2live"}}],"enisaIdVulnerability":[{"id":"1a328c5b-29c6-38e0-8124-c108c7ab5bcd","vulnerability":{"id":"GHSA-5crw-6j7v-xc72","description":"matrix-media-repo: Unsafe media served inline on download endpoints","datePublished":"Sep 8, 2023, 1:18:23 PM","dateUpdated":"Sep 8, 2023, 1:18:23 PM","baseScore":null,"references":"https://github.com/turt2live/matrix-media-repo/security/advisories/GHSA-5crw-6j7v-xc72\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-41318\nhttps://github.com/turt2live/matrix-media-repo/commit/77ec2354e8f46d5ef149d1dcaf25f51c04149137\nhttps://github.com/turt2live/matrix-media-repo/commit/bf8abdd7a5371118e280c65a8e0ec2b2e9bdaf59\nhttps://developer.mozilla.org/en-US/docs/Web/SVG/Element/script\nhttps://github.com/turt2live/matrix-media-repo\n","enisa_id":"EUVD-2023-2431\n","aliases":"CVE-2023-41318\nGHSA-5crw-6j7v-xc72\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:33:56 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"87e60b95-cad6-3ab4-a405-41efcbf0c682","vulnerability":{"id":"CVE-2023-41318","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.","datePublished":"Sep 8, 2023, 7:51:20 PM","dateUpdated":"Sep 26, 2024, 2:03:33 PM","status":"PUBLISHED","baseScore":4.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N","references":"https://github.com/turt2live/matrix-media-repo/security/advisories/GHSA-5crw-6j7v-xc72\nhttps://github.com/turt2live/matrix-media-repo/commit/77ec2354e8f46d5ef149d1dcaf25f51c04149137\nhttps://github.com/turt2live/matrix-media-repo/commit/bf8abdd7a5371118e280c65a8e0ec2b2e9bdaf59\nhttps://developer.mozilla.org/en-US/docs/Web/SVG/Element/script\n","enisa_id":"EUVD-2023-2431\n","assigner":"GitHub_M","epss":0.52,"dataProcessed":"Nov 16, 2026, 7:19:21 AM","vulnerabilityProduct":[{"id":"fd40ad07-aed5-31b0-a139-126f29e640b5","product":{"name":"matrix-media-repo","vendor":{"name":"t2bot"}},"product_version":"\u003c 1.3.0"}],"vulnerabilityVendor":[{"id":"c9aab299-beb7-330b-bdf3-de0a80ccf533","vendor":{"name":"turt2live"}}]}}],"enisaIdAdvisory":[]}