{
  "id": "CVE-2025-40915",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40915",
  "published_at": "2025-06-11T17:09:50.664Z",
  "title": "Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating CSRF tokens",
  "vendor": "GRYPHON",
  "product": "Mojolicious::Plugin::CSRF",
  "cvss": {
    "score": 7,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating CSRF tokens.\n\nThat version of the module generates tokens as an MD5 of the process id, the current time, and a single call to the built-in rand() function.",
  "cwe": "CWE-338",
  "cvss_by_source": {
    "cisa-adp": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "GRYPHON",
        "product": "Mojolicious::Plugin::CSRF",
        "ranges": [
          "1.03"
        ],
        "fixed_in": null
      }
    ],
    "solutions": [
      "Users of version 1.03 should upgrade to 1.04."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
