{"id":"CVE-2025-27088","published":"2025-02-20T22:33:50Z","modified":"2025-02-21T21:29:04Z","title":"Reflected Cross-site Scripting (XSS) in template implementation in oxyno-zeta/s3-proxy","vendor":"oxyno-zeta","product":"s3-proxy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00497,"percentile":0.43522,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/oxyno-zeta/s3-proxy/security/advisories/GHSA-pp9m-qf39-hxjc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/oxyno-zeta/s3-proxy/commit/c611c741ed4872ea3f46232be23bb830f96f9564","tags":["x_refsource_MISC"]},{"url":"https://github.com/oxyno-zeta/s3-proxy/blob/master/templates/folder-list.tpl#L19C21-L19C38","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":8.7},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"oxyno-zeta","affectedVersions":[{"vendor":"oxyno-zeta","product":"s3-proxy","versions":["< 4.18.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-21T16:12:20.912514Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy","vulnerableRanges":["<0.0.0-20250220214310-c611c741ed48"],"patched":["0.0.0-20250220214310-c611c741ed48"],"from":["GHSA-pp9m-qf39-hxjc"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/oxyno-zeta/s3-proxy","vulnerableRanges":["<0.0.0-20250220214310-c611c741ed48"],"patched":["0.0.0-20250220214310-c611c741ed48"],"from":["GO-2025-3477"],"provenance":"source"}],"summary":{"text":"A reflected cross-site scripting flaw exists in the folder-list template of oxyno-zeta's s3-proxy, a Go-based AWS S3 proxy, where the Request.URL.Path value is rendered into HTML without sanitization or escaping. An attacker can exploit it by crafting a malicious URL that injects HTML or JavaScript, which executes in the context of any user who visits it, and the attack requires only that the victim open the link (user interaction) with no authentication or network access needed by the attacker.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:17Z"},"euvd":{"id":"EUVD-2025-4517","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-27088","published":"2025-02-20","fixed":"0.0.0-20250220214310-c611c741ed48","kev":false},{"cve":"CVE-2026-42882","published":"2026-05-11","fixed":"0.0.0-20260424211602-1320e4abd46a","kev":false,"link":{"from":"CVE-2025-27088","to":"CVE-2026-42882","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/oxyno-zeta/s3-proxy","fromFixed":"0.0.0-20250220214310-c611c741ed48","toFixed":"0.0.0-20260424211602-1320e4abd46a","daysApart":445}]}}],"package":"Go:github.com/oxyno-zeta/s3-proxy"}}