CVE-2023-41318 — matrix-media-repo is a highly customizable multi-domain media repository for the
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 vu
Published
2023-09-08T19:51:20.011Z
Last modified
2024-09-26T14:03:33.058Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
01What is this vulnerability?
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…
02Affected products
| Vendor | Product | Versions |
|---|
| turt2live | matrix | media-repo — < 1.3.0 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2023-09-08T19:51:20.011Z
- Last modified: 2024-09-26T14:03:33.058Z
09References
- github.com — https://github.com/turt2live/matrix-media-repo/security/advisories/GHSA-5crw-6j7…
- github.com — https://github.com/turt2live/matrix-media-repo/commit/77ec2354e8f46d5ef149d1dcaf…
- github.com — https://github.com/turt2live/matrix-media-repo/commit/bf8abdd7a5371118e280c65a8e…
- developer.mozilla.org — https://developer.mozilla.org/en-US/docs/Web/SVG/Element/script
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →