{"id":"GHSA-4rm3-4mq4-mfwr","summary":"Cross-Site Request Forgery (CSRF) in hswebframework.web:hsweb-commons","details":"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.","aliases":["CVE-2018-20595"],"modified":"2023-11-08T04:00:12.138485Z","published":"2019-01-04T17:43:22Z","database_specific":{"github_reviewed_at":"2020-06-16T20:59:04Z","nvd_published_at":null,"cwe_ids":["CWE-352"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20595"},{"type":"WEB","url":"https://github.com/hs-web/hsweb-framework/issues/107"},{"type":"WEB","url":"https://github.com/hs-web/hsweb-framework/commit/40929e9b0d336a26281a5ed2e0e721d54dd8d2f2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4rm3-4mq4-mfwr"},{"type":"PACKAGE","url":"https://github.com/hs-web/hsweb-framework"}],"affected":[{"package":{"name":"org.hswebframework.web:hsweb-commons","ecosystem":"Maven","purl":"pkg:maven/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-4rm3-4mq4-mfwr/GHSA-4rm3-4mq4-mfwr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}