CVE-2025-27088

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-27088
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-27088.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-27088
Aliases
Related
Published
2025-02-20T23:15:13Z
Modified
2025-02-22T00:05:17.662463Z
Summary
[none]
Details

oxyno-zeta/s3-proxy is an aws s3 proxy written in go. In affected versions a Reflected Cross-site Scripting (XSS) vulnerability enables attackers to create malicious URLs that, when visited, inject scripts into the web application. This can lead to session hijacking or phishing attacks on a trusted domain, posing a moderate risk to all users. It's possible to inject html elements, including scripts through the folder-list template. The affected template allows users to interact with the URL path provided by the Request.URL.Path variable, which is then rendered directly into the HTML without proper sanitization or escaping. This can be abused by attackers who craft a malicious URL containing injected HTML or JavaScript. When users visit such a URL, the malicious script will be executed in the user's context. This issue has been addressed in version 4.18.1 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

References

Affected packages

Git / github.com/oxyno-zeta/s3-proxy

Affected ranges

Type
GIT
Repo
https://github.com/oxyno-zeta/s3-proxy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0.0
1.1.0

2.*

2.0.0
2.1.0
2.1.1
2.2.0
2.3.0

4.*

4.11.0-alpha.0

v2.*

v2.3.0
v2.5.0

v3.*

v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.0.4
v3.1.0
v3.1.1
v3.2.0
v3.3.0
v3.4.0

v4.*

v4.0.0
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.10.0
v4.11.0
v4.12.0
v4.13.0
v4.14.0
v4.15.0
v4.16.0
v4.17.0
v4.17.1
v4.17.2
v4.18.0
v4.2.0
v4.3.0
v4.4.0
v4.5.0
v4.6.0
v4.6.1
v4.7.0
v4.8.0
v4.9.0