CVE-2023-41318
Summary
| CVE | CVE-2023-41318 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-09-08 20:15:00 UTC |
| Updated | 2023-09-13 02:17:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Turt2live | Matrix-media-repo | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| <script> - SVG: Scalable Vector Graphics | MDN | MISC | developer.mozilla.org | |
| Unsafe media served inline on download endpoints · Advisory · turt2live/matrix-media-repo · GitHub | MISC | github.com | |
| Sniff content type during download for disposition · turt2live/matrix-media-repo@bf8abdd · GitHub | MISC | github.com | |
| Fix Content-Disposition handling · turt2live/matrix-media-repo@77ec235 · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.