CVE-2025-27088
Reflected Cross-site Scripting (XSS) in template implementation in oxyno-zeta/s3-proxy
Also known as GHSA-pp9m-qf39-hxjc, GO-2025-3477
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.
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
Vulnerability facts
- 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
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- 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:NOpen in CVSS calculator
Show all 11 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
- EPSS
- 0.74% chance of exploitation in 30 days (percentile 51, 2026-11-26)
- CWE
- CWE-79
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy | < 0.0.0-20250220214310-c611c741ed48 | 0.0.0-20250220214310-c611c741ed48 | osv |
| Go github.com/oxyno-zeta/s3-proxy | < 0.0.0-20250220214310-c611c741ed48 | 0.0.0-20250220214310-c611c741ed48 | osv |
| oxyno-zeta s3-proxy | < 4.18.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
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.