Advisory record · GHSA-5crw-6j7v-xc72

matrix-media-repo: Unsafe media served inline on download endpoints

CVSS 4.1 MediumEPSS 0.0052 · 44th percentile

Published by the GitHub Advisory Database at 8 Sept 2023, 13:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/turt2live/matrix-media-repoGo<1.3.01.3.0
Identifiers
GHSA-5crw-6j7v-xc72 · CVE-2023-41318 · GO-2023-2053
Weakness (CWE)
CWE-79
Published
8 Sept 2023
Updated
10 Sept 2026

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.

Written 2 Nov 2026.

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

ScoreRatingCVSSVectorSource
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

  1. 31 Oct 2026, 14:16 UTC First seen by agentprime
  2. 31 Oct 2026, 14:16 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.