CVE-2025-27088

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:oxyno-zeta:s3-proxy:*:*:*:*:*:docker:*:*
cpe:2.3:a:oxyno-zeta:s3-proxy:*:*:*:*:*:go:*:*
cpe:2.3:a:oxyno-zeta:s3-proxy:*:*:*:*:*:helm:*:*

History

20 May 2025, 16:47

Type Values Removed Values Added
References () https://github.com/oxyno-zeta/s3-proxy/commit/c611c741ed4872ea3f46232be23bb830f96f9564 - () https://github.com/oxyno-zeta/s3-proxy/commit/c611c741ed4872ea3f46232be23bb830f96f9564 - Patch
References () https://github.com/oxyno-zeta/s3-proxy/security/advisories/GHSA-pp9m-qf39-hxjc - () https://github.com/oxyno-zeta/s3-proxy/security/advisories/GHSA-pp9m-qf39-hxjc - Exploit, Vendor Advisory
References () https://github.com/oxyno-zeta/s3-proxy/blob/master/templates/folder-list.tpl#L19C21-L19C38 - () https://github.com/oxyno-zeta/s3-proxy/blob/master/templates/folder-list.tpl#L19C21-L19C38 - Product
CWE CWE-79
CPE cpe:2.3:a:oxyno-zeta:s3-proxy:*:*:*:*:*:go:*:*
cpe:2.3:a:oxyno-zeta:s3-proxy:*:*:*:*:*:helm:*:*
cpe:2.3:a:oxyno-zeta:s3-proxy:*:*:*:*:*:docker:*:*
First Time Oxyno-zeta s3-proxy
Oxyno-zeta
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.2

21 Feb 2025, 22:15

Type Values Removed Values Added
CWE CWE-79

20 Feb 2025, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-20 23:15

Updated : 2025-05-20 16:47


NVD link : CVE-2025-27088

Mitre link : CVE-2025-27088


JSON object : View

Products Affected

oxyno-zeta

  • s3-proxy
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')