{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "3.0.0"
              },
              {
                "last_affected": "3.5.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "d2c694c1936370c12f14b80b4a3591e43914844d"
            },
            {
              "last_affected": "7437819b5be45beab1200e0214cb8890f9627e70"
            }
          ],
          "repo": "https://github.com/vert-x3/vertx-web",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2018-12540",
  "modified": "2026-04-01T23:07:48.632611042Z",
  "published": "2018-07-12T14:29:00.273Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread.html/r10aef585c521f8ef603f5831f9d97a27d920624025131da950e0c62f%40%3Ccommits.pulsar.apache.org%3E"
    },
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread.html/r3fffda8e947edaa359152c8dc4c4ea9c96fd8ced1999bbce92bc6b25%40%3Ccommits.pulsar.apache.org%3E"
    },
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread.html/r59482ebed302aa49ac7e0c51737499746b0d086fcdeb8f90e705951f%40%3Ccommits.pulsar.apache.org%3E"
    },
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread.html/rc5b4ae8a7caae6d3d5b3266cb050823b96dd62b30718b90b778d3d8b%40%3Ccommits.pulsar.apache.org%3E"
    },
    {
      "type": "EVIDENCE",
      "url": "https://access.redhat.com/errata/RHSA-2018:2371"
    },
    {
      "type": "EVIDENCE",
      "url": "https://bugs.eclipse.org/bugs/show_bug.cgi?id=536948"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}