{"answers":{"affected":"3 open source packages ship an affected version, including github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy and github.com/oxyno-zeta/s3-proxy. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-27088 exists.","fix":"Upgrade github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy to 0.0.0-20250220214310-c611c741ed48 or later.","what":"CVE-2025-27088 is a high-severity cross-site scripting vulnerability in oxyno-zeta s3-proxy, published on 20 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-27088 and fix it if it is affected.\n\nWhat it is: CVE-2025-27088 is a high-severity cross-site scripting vulnerability in oxyno-zeta s3-proxy, published on 20 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-27088 exists.\n\nAffected packages and fixed versions:\n- github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy (Go): affected all versions; fixed in 0.0.0-20250220214310-c611c741ed48\n- github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy (Go): affected all versions; fixed in 0.0.0-20250220214310-c611c741ed48\n- github.com/oxyno-zeta/s3-proxy (Go): affected all versions; fixed in 0.0.0-20250220214310-c611c741ed48\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-27088/ (Markdown: https://insights.sbomify.com/CVE-2025-27088/index.md)","id":"CVE-2025-27088","markdown":"https://insights.sbomify.com/CVE-2025-27088/index.md","name":"CVE-2025-27088","record":{"aliases":["GHSA-pp9m-qf39-hxjc","GO-2025-3477"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"S3 proxy server","requires_auth":"none","summary":"Attackers can inject malicious scripts via crafted URLs in the folder-list template, leading to session hijacking or phishing on the trusted domain.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"s3-proxy","vendor":"oxyno-zeta"}],"cvss":{"score":8.4,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Reflected Cross-site Scripting (XSS) in template implementation in oxyno-zeta/s3-proxy","id":"CVE-2025-27088","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":3,"n_references":3,"next":{"headline":"Overlapping policies allow update to non-allowed fields in directus","id":"CVE-2025-27089"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20250220214310-c611c741ed48"],"introduced":["0"],"last_affected":[],"package":"github.com/oxyno-zeta/s3-proxy","purl":"pkg:golang/github.com/oxyno-zeta/s3-proxy","source":"GO-2025-3477"},{"ecosystem":"Go","fixed":["0.0.0-20250220214310-c611c741ed48"],"introduced":["0"],"last_affected":[],"package":"github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy","purl":null,"source":"GHSA-pp9m-qf39-hxjc"},{"ecosystem":"Go","fixed":["0.0.0-20250220214310-c611c741ed48"],"introduced":["0"],"last_affected":[],"package":"github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy","purl":"pkg:golang/github.com/oxyno-zeta/s3-proxy/cmd/s3-proxy","source":"GHSA-pp9m-qf39-hxjc"}],"prev":{"headline":"Denial of service in HPE Cray Operating System (COS)","id":"CVE-2025-27087"},"products":["s3-proxy"],"published":"2025-02-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-21","vendors":["oxyno-zeta"]},"summary":"Attackers can inject malicious scripts via crafted URLs in the folder-list template, leading to session hijacking or phishing on the trusted domain.","url":"https://insights.sbomify.com/CVE-2025-27088/"}