{"id":"CVE-2018-20595","aliases":["EUVD-2019-0176","GHSA-4rm3-4mq4-mfwr"],"status":"published","title":"Cross-Site Request Forgery (CSRF) in hswebframework.web:hsweb-commons","description":"A CSRF issue was discovered in web/authorization/oauth2/controller/OAuth2ClientController.java in hsweb 3.0.4 because the state parameter in the request is not compared with the state parameter in the session after user authentication is successful.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00644,"percentile":0.51137,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-352"],"published":"2018-12-30T18:00:00Z","modified":"2026-10-20T13:37:41Z","affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.hswebframework.web:hsweb-commons","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.0.4"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.hswebframework.web:hsweb-commons","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.0.4"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.0.4"]}],"products":[{"vendor":"hsweb","product":"hsweb"}],"references":[{"url":"https://github.com/hs-web/hsweb-framework/commit/40929e9b0d336a26281a5ed2e0e721d54dd8d2f2","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/hs-web/hsweb-framework/issues/107","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20595","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4rm3-4mq4-mfwr","tags":["advisory"]},{"url":"https://github.com/hs-web/hsweb-framework","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-20595","description":"A CSRF issue was discovered in web/authorization/oauth2/controller/OAuth2ClientController.java in hsweb 3.0.4 because the state parameter in the request is not compared with the state parameter in the session after user authentication is successful.","status":"published","published":"2018-12-30T18:00:00Z","modified":"2024-08-05T12:05:17.71Z","updated_at":"2026-11-02T14:35:00.237825Z"}],"euvd":[{"id":"EUVD-2019-0176","description":"A CSRF issue was discovered in web/authorization/oauth2/controller/OAuth2ClientController.java in hsweb 3.0.4 because the state parameter in the request is not compared with the state parameter in the session after user authentication is successful.","status":"published","published":"2018-12-30T18:00:00Z","modified":"2024-08-05T12:05:17Z","updated_at":"2026-11-03T02:39:30.323824Z"}],"ghsa":[{"id":"GHSA-4rm3-4mq4-mfwr","title":"Cross-Site Request Forgery (CSRF) in hswebframework.web:hsweb-commons","description":"A CSRF issue was discovered in web/authorization/oauth2/controller/OAuth2ClientController.java in hsweb 3.0.4 because the state parameter in the request is not compared with the state parameter in the session after user authentication is successful.","status":"published","published":"2019-01-04T17:43:22Z","modified":"2023-01-09T05:03:45Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:36:06.317379Z"}],"nvd":[{"id":"CVE-2018-20595","description":"A CSRF issue was discovered in web/authorization/oauth2/controller/OAuth2ClientController.java in hsweb 3.0.4 because the state parameter in the request is not compared with the state parameter in the session after user authentication is successful.","status":"published","published":"2018-12-30T18:29:00.693Z","modified":"2026-06-17T01:53:09.23Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:04:52.056758Z"}],"osv":[{"id":"CVE-2018-20595","description":"A CSRF issue was discovered in web/authorization/oauth2/controller/OAuth2ClientController.java in hsweb 3.0.4 because the state parameter in the request is not compared with the state parameter in the session after user authentication is successful.","status":"published","published":"2018-12-30T18:29:00.693Z","modified":"2026-10-20T13:37:41.234432651Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"GHSA-4rm3-4mq4-mfwr","title":"Cross-Site Request Forgery (CSRF) in hswebframework.web:hsweb-commons","description":"A CSRF issue was discovered in web/authorization/oauth2/controller/OAuth2ClientController.java in hsweb 3.0.4 because the state parameter in the request is not compared with the state parameter in the session after user authentication is successful.","status":"published","published":"2019-01-04T17:43:22Z","modified":"2023-11-08T04:00:12.138485Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:37.528068Z"}]}}
