{"id":"CVE-2017-9804","aliases":["GHSA-x5x7-3v85-wpc4"],"kind":"cve","tier":"cold","status":"published","title":"Apache Struts allows entering a custom URL in a form field if built-in URLValidator is used","description":"In Apache Struts 2.3.7 through 2.3.33 and 2.5 through 2.5.12, if an application allows entering a URL in a form field and built-in URLValidator is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL.  NOTE: this vulnerability exists because of an incomplete fix for S2-047 / CVE-2017-7672.","ai_summary":null,"severity":"high","cvss":{"score":7.5,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD"},"scores":[{"score":7.5,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd"},{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"nvd"}],"cwe":["CWE-20"],"remote":true,"remote_unauth":true,"epss":{"score":0.08394,"percentile":0.95745,"date":"2026-11-29"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","affected":">= 2.3.7, < 2.3.34","fixed":["2.3.34","2.5.13"],"source":"osv"}],"affected_products":[{"vendor":"Apache Software Foundation","product":"Apache Struts","versions":"2.3.7 - 2.3.33; 2.5 - 2.5.12","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade org.apache.struts:struts2-core to one of 2.3.34, 2.5.13 (or later in the same release line).","technologies":[],"references":[{"url":"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9804","kind":"vendor"},{"url":"http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html","kind":"patch"},{"url":"https://struts.apache.org/docs/s2-050.html","kind":"patch"},{"url":"https://github.com/apache/struts/commit/418a20c0594f23764fe29ced400c1219239899a","kind":"patch"},{"url":"http://www.securityfocus.com/bid/100612","kind":"other"},{"url":"https://security.netapp.com/advisory/ntap-20180629-0001/","kind":"other"},{"url":"http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-003.txt","kind":"other"},{"url":"http://www.securitytracker.com/id/1039261","kind":"other"},{"url":"https://github.com/apache/struts","kind":"other"},{"url":"https://security.netapp.com/advisory/ntap-20180629-0001","kind":"other"},{"url":"https://web.archive.org/web/20171113165852/http://www.securityfocus.com/bid/100612","kind":"other"},{"url":"https://web.archive.org/web/20201021075553/http://www.securitytracker.com/id/1039261","kind":"other"}],"workarounds":null,"vendors":["apache","apache software foundation"],"products":["apache struts","struts"],"cpes":["cpe:2.3:a:apache:struts:2.3.10:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.11:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.12:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.13:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.14.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.14.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.14.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.14:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.15.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.15.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.15.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.15:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.16.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.16.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.16.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.16:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.17:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.19:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.20.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.20.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.20:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.21:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.22:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.23:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.24.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.24.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.25:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.26:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.27:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.28.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.28:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.29:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.30:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.31:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.32:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.33:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.7:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.8:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.3.9:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.10.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.10:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.12:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.1:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.2:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.3:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.4:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.5:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.6:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.7:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.8:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5.9:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5:*:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5:beta1:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5:beta2:*:*:*:*:*:*","cpe:2.3:a:apache:struts:2.5:beta3:*:*:*:*:*:*"],"published_at":"2017-09-20T17:00:00.000Z","modified_at":"2026-06-17T01:28:57.343Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9804"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-x5x7-3v85-wpc4","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2017-9804","markdown":"https://flawdb.com/CVE-2017-9804.md","json":"https://flawdb.com/api/v1/entries/CVE-2017-9804"}}