{"id":"CVE-2018-12540","aliases":["EUVD-2018-0690","GHSA-rvgg-f8qm-6h7j"],"status":"published","title":"High severity vulnerability that affects io.vertx:vertx-web","description":"In version from 3.0.0 to 3.5.2 of Eclipse Vert.x, the CSRFHandler do not assert that the XSRF Cookie matches the returned XSRF header/form parameter. This allows replay attacks with previously issued tokens which are not expired yet.","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.01994,"percentile":0.80827,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-352"],"published":"2018-07-12T14:00:00Z","modified":"2026-10-24T10:47:39Z","exploits":[{"source":"pocgithub","id":"bernard-wagner/vertx-web-xsrf","title":"bernard-wagner/vertx-web-xsrf","date":"2018-06-15","url":"https://github.com/bernard-wagner/vertx-web-xsrf"},{"source":"pocgithub","id":"tafamace/CVE-2018-12540","title":"tafamace/CVE-2018-12540","date":"2018-11-19","url":"https://github.com/tafamace/CVE-2018-12540"}],"fixes":[{"ecosystem":"Maven","package":"io.vertx:vertx-web","fixed_in":["3.5.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"io.vertx:vertx-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.3"}]}]},{"source":"osv","ecosystem":"Maven","package":"io.vertx:vertx-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.5.3"}]}],"versions":["3.0.0","3.1.0","3.2.0","3.2.1","3.3.0","3.3.0.CR1","3.3.0.CR2","3.3.1","3.3.2","3.3.3","3.4.0","3.4.0.Beta1","3.4.1","3.4.2","3.5.0","3.5.0.Beta1","3.5.1","3.5.2","3.5.2.CR1","3.5.2.CR2","3.5.2.CR3","3.5.3.CR1"]}],"products":[{"vendor":"eclipse","product":"vert.x"},{"vendor":"eclipse foundation","product":"eclipse vert.x"},{"vendor":"the eclipse foundation","product":"eclipse vert.x"}],"references":[{"url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=536948","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","evidence","web"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2371","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://lists.apache.org/thread.html/r59482ebed302aa49ac7e0c51737499746b0d086fcdeb8f90e705951f%40%3Ccommits.pulsar.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r3fffda8e947edaa359152c8dc4c4ea9c96fd8ced1999bbce92bc6b25%40%3Ccommits.pulsar.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/rc5b4ae8a7caae6d3d5b3266cb050823b96dd62b30718b90b778d3d8b%40%3Ccommits.pulsar.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r10aef585c521f8ef603f5831f9d97a27d920624025131da950e0c62f%40%3Ccommits.pulsar.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12540","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-rvgg-f8qm-6h7j","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/r10aef585c521f8ef603f5831f9d97a27d920624025131da950e0c62f@%3Ccommits.pulsar.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r3fffda8e947edaa359152c8dc4c4ea9c96fd8ced1999bbce92bc6b25@%3Ccommits.pulsar.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r59482ebed302aa49ac7e0c51737499746b0d086fcdeb8f90e705951f@%3Ccommits.pulsar.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rc5b4ae8a7caae6d3d5b3266cb050823b96dd62b30718b90b778d3d8b@%3Ccommits.pulsar.apache.org%3E","tags":["web"]},{"url":"https://github.com/vert-x3/vertx-web/issues/970","tags":["web"]},{"url":"https://github.com/vert-x3/vertx-web/commit/f42b193b15a29b772fc576b2d0f2497e7474a7e","tags":["web"]},{"url":"https://github.com/vert-x3/vertx-web","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-12540","description":"In version from 3.0.0 to 3.5.2 of Eclipse Vert.x, the CSRFHandler do not assert that the XSRF Cookie matches the returned XSRF header/form parameter. This allows replay attacks with previously issued tokens which are not expired yet.","status":"published","published":"2018-07-12T14:00:00Z","modified":"2024-08-05T08:38:05.97Z","cwes":["CWE-352"],"updated_at":"2026-11-02T14:35:06.320867Z"}],"euvd":[{"id":"EUVD-2018-0690","description":"In version from 3.0.0 to 3.5.2 of Eclipse Vert.x, the CSRFHandler do not assert that the XSRF Cookie matches the returned XSRF header/form parameter. This allows replay attacks with previously issued tokens which are not expired yet.","status":"published","published":"2018-07-12T14:00:00Z","modified":"2024-08-05T08:38:05Z","updated_at":"2026-11-03T02:39:52.61924Z"}],"ghsa":[{"id":"GHSA-rvgg-f8qm-6h7j","title":"High severity vulnerability that affects io.vertx:vertx-web","description":"In version from 3.0.0 to 3.5.2 of Eclipse Vert.x, the CSRFHandler do not assert that the XSRF Cookie matches the returned XSRF header/form parameter. This allows replay attacks with previously issued tokens which are not expired yet.","status":"published","published":"2018-10-17T16:19:43Z","modified":"2024-04-12T21:17:46Z","cwes":["CWE-352"],"updated_at":"2026-11-02T14:37:43.62603Z"}],"nvd":[{"id":"CVE-2018-12540","description":"In version from 3.0.0 to 3.5.2 of Eclipse Vert.x, the CSRFHandler do not assert that the XSRF Cookie matches the returned XSRF header/form parameter. This allows replay attacks with previously issued tokens which are not expired yet.","status":"published","published":"2018-07-12T14:29:00.273Z","modified":"2026-06-17T01:37:56.247Z","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:32.929986Z"}],"osv":[{"id":"CVE-2018-12540","description":"In version from 3.0.0 to 3.5.2 of Eclipse Vert.x, the CSRFHandler do not assert that the XSRF Cookie matches the returned XSRF header/form parameter. This allows replay attacks with previously issued tokens which are not expired yet.","status":"published","published":"2018-07-12T14:29:00.273Z","modified":"2026-10-24T10:47:39.204809326Z","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:07.934182Z"},{"id":"GHSA-rvgg-f8qm-6h7j","title":"High severity vulnerability that affects io.vertx:vertx-web","description":"In version from 3.0.0 to 3.5.2 of Eclipse Vert.x, the CSRFHandler do not assert that the XSRF Cookie matches the returned XSRF header/form parameter. This allows replay attacks with previously issued tokens which are not expired yet.","status":"published","published":"2018-10-17T16:19:43Z","modified":"2024-12-03T06:00:55.103593Z","cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:56.281047Z"}]}}
