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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.74% (percentile 51, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-pp9m-qf39-hxjc, GO-2025-3477
- **Published:** 2025-02-20T22:18:46.000Z
- **Modified:** 2026-09-10T03:50:22.862Z

## Who should check

- Projects that depend on Go package github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy (\< 0.0.0-20250220214310-c611c741ed48)
- Projects that depend on Go package github.com/oxyno-zeta/s3-proxy (\< 0.0.0-20250220214310-c611c741ed48)
- Anyone running oxyno-zeta s3-proxy \< 4.18.0

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

## Affected and fixed versions

- Go `github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy`: affected \< 0.0.0-20250220214310-c611c741ed48; fixed 0.0.0-20250220214310-c611c741ed48 (osv)
- Go `github.com/oxyno-zeta/s3-proxy`: affected \< 0.0.0-20250220214310-c611c741ed48; fixed 0.0.0-20250220214310-c611c741ed48 (osv)
- oxyno-zeta s3-proxy: \< 4.18.0 (cvelist)

## Mitigation

- Upgrade github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy to 0.0.0-20250220214310-c611c741ed48 or later.
- Upgrade github.com/oxyno-zeta/s3-proxy to 0.0.0-20250220214310-c611c741ed48 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-27088. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27088.md
Affected: github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy < 0.0.0-20250220214310-c611c741ed48; github.com/oxyno-zeta/s3-proxy < 0.0.0-20250220214310-c611c741ed48
Fixed in: 0.0.0-20250220214310-c611c741ed48

Steps:
1. Search this machine and project for github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy (Go), github.com/oxyno-zeta/s3-proxy (Go), oxyno-zeta s3-proxy: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-27088 being exploited?

There is no confirmed exploitation: CVE-2025-27088 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.74% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-27088?

High: CVSS 8.4 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-27088?

github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy \< 0.0.0-20250220214310-c611c741ed48; github.com/oxyno-zeta/s3-proxy \< 0.0.0-20250220214310-c611c741ed48.

### Is there a fix for CVE-2025-27088?

Yes. Fixed in 0.0.0-20250220214310-c611c741ed48. Upgrade github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy to 0.0.0-20250220214310-c611c741ed48 or later. Upgrade github.com/oxyno-zeta/s3-proxy to 0.0.0-20250220214310-c611c741ed48 or later.

### How do I check if I'm affected by CVE-2025-27088?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-27088>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-pp9m-qf39-hxjc> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3477> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-27088> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-27088>
