# CVE-2025-27088: Reflected Cross-site Scripting (XSS) in template implementation in oxyno-zeta/s3-proxy

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 2.23.1, 4.18.0, 4.18.1 (CNA); fix release not confirmed
- Status: published
- Published: 2025-02-20 · Modified: 2025-02-21
- Aliases: GHSA-pp9m-qf39-hxjc, GO-2025-3477
- Record: https://cvemate.com/vulnerability/CVE-2025-27088 · JSON: https://cvemate.com/vulnerability/CVE-2025-27088/json

## 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.
```

## Signals

- CVSS: 8.4 high (v4.0, CVE.org) 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
- EPSS: 0.504%, percentile 44.683%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- github.com/oxyno-zeta s3-proxy (Go): \< 0.0.0-20250220214310-c611c741ed48
- github.com/oxyno-zeta/s3-proxy/cmd s3-proxy (Go): \< 0.0.0-20250220214310-c611c741ed48
- oxyno-zeta s3-proxy: \< 4.18.0 \| \< 2.23.1 \| \< 4.18.1

## References

- <https://github.com/oxyno-zeta/s3-proxy/security/advisories/GHSA-pp9m-qf39-hxjc>
- <https://github.com/oxyno-zeta/s3-proxy/commit/c611c741ed4872ea3f46232be23bb830f96f9564>
- <https://github.com/oxyno-zeta/s3-proxy/blob/master/templates/folder-list.tpl#L19C21-L19C38>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27088>
- <https://github.com/oxyno-zeta/s3-proxy>
- <https://github.com/oxyno-zeta/s3-proxy/releases/tag/v4.18.1>

---

Data as of 2026-12-05T18:17:27.476Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
