CVE-2023-41318

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-41318
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-41318.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-41318
Aliases
Related
Published
2023-09-08T20:15:14Z
Modified
2025-01-15T04:57:50.887243Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/t2bot/matrix-media-repo

Affected ranges

Type
GIT
Repo
https://github.com/t2bot/matrix-media-repo
Events
Type
GIT
Repo
https://github.com/turt2live/matrix-media-repo
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.0.0
v1.0.0-rc.1
v1.0.0-rc.2
v1.0.1
v1.0.2
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.2.0
v1.2.1
v1.2.10
v1.2.11
v1.2.12
v1.2.13
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.2.7
v1.2.8
v1.2.9