Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
matrix-media-repo versions before 1.3.0 serve uploaded SVG media inline from the /download endpoints, so a malicious user who uploads an SVG containing JavaScript can have that script run in a browser when a client links directly to the download endpoint. Operators who do not share a domain between matrix-media-repo and other services are not affected. Upgrade to version 1.3.0. As a workaround, a reverse proxy in front of the server can override Content-Disposition to always use attachment.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 4.1 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0052, the 44th percentile, on 24 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:16 UTC First seen by agentprime
- 31 Oct 2026, 14:16 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-5crw-6j7v-xc72
- OSV: GHSA-5crw-6j7v-xc72
- github.com/turt2live/matrix-media-repo/security/advisories/GHSA-5crw-6j7v-xc72
- nvd.nist.gov/vuln/detail/CVE-2023-41318
- github.com/turt2live/matrix-media-repo/commit/77ec2354e8f46d5ef149d1dcaf25f51c04149137
- github.com/turt2live/matrix-media-repo/commit/bf8abdd7a5371118e280c65a8e0ec2b2e9bdaf59
- developer.mozilla.org/en-US/docs/Web/SVG/Element/script
- github.com/turt2live/matrix-media-repo