{"cve_id":"CVE-2025-45286","summary":"A cross-site scripting (XSS) vulnerability in mccutchen httpbin v2.17.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload.","cvss":6.1,"cvss_version":3.0,"cvss_v2":null,"cvss_v3":6.1,"cvss_v4":null,"epss":0.00267,"ranking_epss":0.19003,"kev":false,"propose_action":null,"ransomware_campaign":null,"references":["https://github.com/advisories/GHSA-528q-4pgm-wvg2","https://github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2","https://github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2"],"cpes":["cpe:2.3:a:httpbingo:go-httpbin:1.0.0","cpe:2.3:a:httpbingo:go-httpbin:1.1.0","cpe:2.3:a:httpbingo:go-httpbin:1.1.1","cpe:2.3:a:httpbingo:go-httpbin:2.0.0","cpe:2.3:a:httpbingo:go-httpbin:2.1.0","cpe:2.3:a:httpbingo:go-httpbin:2.1.1","cpe:2.3:a:httpbingo:go-httpbin:2.1.2","cpe:2.3:a:httpbingo:go-httpbin:2.1.3","cpe:2.3:a:httpbingo:go-httpbin:2.10.0","cpe:2.3:a:httpbingo:go-httpbin:2.11.0","cpe:2.3:a:httpbingo:go-httpbin:2.11.1","cpe:2.3:a:httpbingo:go-httpbin:2.12.0","cpe:2.3:a:httpbingo:go-httpbin:2.13.0","cpe:2.3:a:httpbingo:go-httpbin:2.13.1","cpe:2.3:a:httpbingo:go-httpbin:2.13.2","cpe:2.3:a:httpbingo:go-httpbin:2.13.3","cpe:2.3:a:httpbingo:go-httpbin:2.13.4","cpe:2.3:a:httpbingo:go-httpbin:2.14.0","cpe:2.3:a:httpbingo:go-httpbin:2.14.1","cpe:2.3:a:httpbingo:go-httpbin:2.15.0","cpe:2.3:a:httpbingo:go-httpbin:2.16.0","cpe:2.3:a:httpbingo:go-httpbin:2.16.1","cpe:2.3:a:httpbingo:go-httpbin:2.17.0","cpe:2.3:a:httpbingo:go-httpbin:2.17.1","cpe:2.3:a:httpbingo:go-httpbin:2.2.0","cpe:2.3:a:httpbingo:go-httpbin:2.2.1","cpe:2.3:a:httpbingo:go-httpbin:2.2.2","cpe:2.3:a:httpbingo:go-httpbin:2.3.0","cpe:2.3:a:httpbingo:go-httpbin:2.4.0","cpe:2.3:a:httpbingo:go-httpbin:2.4.1","cpe:2.3:a:httpbingo:go-httpbin:2.4.2","cpe:2.3:a:httpbingo:go-httpbin:2.5.0","cpe:2.3:a:httpbingo:go-httpbin:2.5.1","cpe:2.3:a:httpbingo:go-httpbin:2.5.2","cpe:2.3:a:httpbingo:go-httpbin:2.5.3","cpe:2.3:a:httpbingo:go-httpbin:2.5.4","cpe:2.3:a:httpbingo:go-httpbin:2.5.5","cpe:2.3:a:httpbingo:go-httpbin:2.5.6","cpe:2.3:a:httpbingo:go-httpbin:2.6.0","cpe:2.3:a:httpbingo:go-httpbin:2.7.0","cpe:2.3:a:httpbingo:go-httpbin:2.8.0","cpe:2.3:a:httpbingo:go-httpbin:2.9.0","cpe:2.3:a:httpbingo:go-httpbin:2.9.1","cpe:2.3:a:httpbingo:go-httpbin:2.9.2"],"published_time":"2026-01-02T15:15:59","euvd":{"id":"EUVD-2025-7205","description":"A cross-site scripting (XSS) vulnerability in mccutchen httpbin v2.17.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload.","published_time":"2026-01-02T00:00:00","cvss":6.1,"cvss_version":"3.1","epss":0.0027,"assigner":"mitre","references":["https://github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2","https://github.com/advisories/GHSA-528q-4pgm-wvg2"],"products":["n/a"],"vendors":["n/a"]},"ghsa":{"id":"GHSA-528q-4pgm-wvg2","summary":"Reflected XSS in go-httpbin due to unrestricted client control over Content-Type","details":"### Description\n\nThe go-httpbin framework is vulnerable to XSS as the user can control the `Response Content-Type` from GET parameter. This allows attacker to execute cross site scripts in victims browser.\n\n### Affected URLs:\n- `/response-headers?Content-Type=text/html&xss=%3Cimg/src/onerror=alert(%27xss%27)%3E`\n- `/base64/PGltZy9zcmMvb25lcnJvcj1hbGVydCgneHNzJyk+?content-type=text/html`\n- `/base64/decode/PGltZy9zcmMvb25lcnJvcj1hbGVydCgneHNzJyk+?content-type=text/html`\n\n### Steps to reproduce:\n1. Visit one of the above mentioned URLs.\n2. XSS window will popup\n\n### Suggested fix\n- Allow Only Safe Content-Type Values Or give users option to define whitelisted Content-Type headers\n\n\n### Criticality\nThe following can be major impacts of the issue:\n* Access to victim's sensitive Personal Identifiable Information.\n* Access to CSRF token\n* Cookie injection\n* Phishing\n* And any other thing Javascript can perform","published_time":"2025-03-21T22:29:47Z","modified_time":"2026-01-02T20:32:35Z","withdrawn_time":null,"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U"}],"affected":[{"package":{"ecosystem":"Go","name":"github.com/mccutchen/go-httpbin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.0"}]}]},{"package":{"ecosystem":"Go","name":"github.com/mccutchen/go-httpbin/v2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.0"}]}]}],"references":[{"type":"WEB","url":"https://github.com/mccutchen/go-httpbin/security/advisories/GHSA-528q-4pgm-wvg2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-45286"},{"type":"WEB","url":"https://github.com/mccutchen/go-httpbin/commit/0decfd1a2e88d85ca6bfb8a92421653f647cbc04"},{"type":"PACKAGE","url":"https://github.com/mccutchen/go-httpbin"},{"type":"WEB","url":"https://github.com/mccutchen/go-httpbin/releases/tag/v2.18.0"}],"cwe_ids":["CWE-79"],"github_severity":"LOW","github_reviewed":true,"github_reviewed_at":"2025-03-21T22:29:47Z"}}