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

- Severity: High 8.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-20T22:18:46.000Z
- Modified: 2026-09-10T03:50:22.862Z
- Also known as: GHSA-pp9m-qf39-hxjc, GO-2025-3477
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:4.0 8.4 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/oxyno-zeta/s3-proxy/security/advisories/GHSA-pp9m-qf39-hxjc> (exploit, advisory, vendor-advisory, web)
- <https://github.com/oxyno-zeta/s3-proxy/commit/c611c741ed4872ea3f46232be23bb830f96f9564> (fix, patch, web)
- <https://github.com/oxyno-zeta/s3-proxy/blob/master/templates/folder-list.tpl#L19C21-L19C38> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27088> (advisory)
- <https://github.com/oxyno-zeta/s3-proxy> (package)
- <https://github.com/oxyno-zeta/s3-proxy/releases/tag/v4.18.1> (web)

## Sources

- CVE List: [CVE-2025-27088](https://www.cve.org/CVERecord?id=CVE-2025-27088), CVE Terms of Use, modified 2025-02-21
- GitHub Advisory Database: [GHSA-pp9m-qf39-hxjc](https://github.com/advisories/GHSA-pp9m-qf39-hxjc), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3477](https://pkg.go.dev/vuln/GO-2025-3477), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-27088](https://nvd.nist.gov/vuln/detail/CVE-2025-27088), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27088 · Whole record: https://cve.day/CVE-2025-27088.json · Rebuilt by cve.day 2026-11-25T22:58:54.206Z
