{
  "id": "CVE-2024-42009",
  "url": "https://poc.griffinguard.io/cve/CVE-2024-42009",
  "published_at": "2024-08-05T00:00:00Z",
  "title": "RoundCube Webmail Cross-Site Scripting Vulnerability",
  "vendor": "Roundcube",
  "product": "Webmail",
  "cvss": {
    "score": 9.3,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2025-06-09",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 308
  },
  "first_poc": {
    "created_at": "2025-02-11T23:02:42Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 191,
    "repo": "0xbassiouny1337/CVE-2024-42009",
    "source": "github"
  },
  "poc_repo_count": 4,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a crafted e-mail message that abuses a Desanitization issue in message_body() in program/actions/mail/show.php.",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cisa-adp": 9.3
  },
  "repos": [
    {
      "repo": "0xbassiouny1337/CVE-2024-42009",
      "url": "https://github.com/0xbassiouny1337/CVE-2024-42009",
      "created_at": "2025-02-11T23:02:42Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-04-04T14:16:27Z"
    },
    {
      "repo": "Bhanunamikaze/CVE-2024-42009",
      "url": "https://github.com/Bhanunamikaze/CVE-2024-42009",
      "created_at": "2025-02-13T20:53:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-02-08T08:14:52Z"
    },
    {
      "repo": "DaniTheHack3r/CVE-2024-42009-PoC",
      "url": "https://github.com/DaniTheHack3r/CVE-2024-42009-PoC",
      "created_at": "2025-05-24T19:15:11Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 8,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-05-27T08:06:49Z"
    },
    {
      "repo": "Foxer131/CVE-2024-42008-9-exploit",
      "url": "https://github.com/Foxer131/CVE-2024-42008-9-exploit",
      "created_at": "2025-05-26T00:31:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-01-04T01:59:22Z"
    },
    {
      "repo": "Shubhankargupta691/CVE-2024-42009",
      "url": "https://github.com/Shubhankargupta691/CVE-2024-42009",
      "created_at": "2025-09-14T23:03:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-10-08T07:10:58Z"
    },
    {
      "repo": "ZaidArif47/CVE-2024-42009",
      "url": "https://github.com/ZaidArif47/CVE-2024-42009",
      "created_at": "2026-04-16T14:03:05Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-01-09T05:29:49Z"
    },
    {
      "repo": "segunakinsoyinu/CVE-2024-42009-roundcube-xss",
      "url": "https://github.com/segunakinsoyinu/CVE-2024-42009-roundcube-xss",
      "created_at": "2026-06-17T20:58:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-08-06T11:22:43Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-42009.yaml",
      "source": "nuclei",
      "title": "nuclei template: Roundcube Webmail - Cross-Site Scripting",
      "published_at": "2025-10-14T05:38:18Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/",
      "query_markers": [
        "_task=login",
        "_action=show",
        "_user=",
        "_task=mail",
        "_uid=20",
        "_mbox=INBOX",
        "_extwin=1",
        "x=",
        "x=1'\u003e\u003cbody title='bgcolor=foo' name='bar' style='animation-name:progress-bar-stripes' onanimationstart='alert(origin)'\u003eFoo\u003c/body\u003e"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept-Language",
          "value": "en"
        },
        {
          "name": "Cookie",
          "value": "roundcube_sessid=8bca177c1781f195cefff74839b87e47"
        }
      ],
      "ports": [
        8025,
        8080
      ],
      "user_agents": [
        "Mozilla/5.0 (Macintosh; Intel Mac OS X 13_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15"
      ],
      "protocol": "https",
      "repos": [
        "Shubhankargupta691/CVE-2024-42009"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "Shubhankargupta691/CVE-2024-42009/CVE-2024-42009-OOB \u0026 Interactsh.yaml:47",
        "Shubhankargupta691/CVE-2024-42009/CVE-2024-42009-OOB \u0026 Interactsh.yaml:107",
        "Shubhankargupta691/CVE-2024-42009/CVE-2024-42009.yaml:44",
        "Shubhankargupta691/CVE-2024-42009/CVE-2024-42009.yaml:57",
        "Shubhankargupta691/CVE-2024-42009/CVE-2024-42009.yaml:77",
        "Shubhankargupta691/CVE-2024-42009/CVE-2024-42009.yaml:97",
        "Shubhankargupta691/CVE-2024-42009/nuclei debug result/nuclei debug.txt:19",
        "Shubhankargupta691/CVE-2024-42009/nuclei debug result/nuclei debug.txt:143",
        "Shubhankargupta691/CVE-2024-42009/nuclei debug result/nuclei debug.txt:268",
        "Shubhankargupta691/CVE-2024-42009/nuclei debug result/nuclei debug.txt:393"
      ]
    },
    {
      "method": "GET",
      "path_template": "/README",
      "ports": [
        8025,
        8080
      ],
      "protocol": "https",
      "repos": [
        "Shubhankargupta691/CVE-2024-42009"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "Shubhankargupta691/CVE-2024-42009/CVE-2024-42009-OOB \u0026 Interactsh.yaml:106"
      ]
    },
    {
      "method": "POST",
      "path_template": "/contact",
      "body_markers": [
        "name=XSS Bot",
        "email=attacker@evil.com",
        "message=",
        "content=html",
        "recipient=THE_ONE_U_WILL_SEND_EMAIL_TO"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        4444
      ],
      "protocol": "http",
      "repos": [
        "0xbassiouny1337/CVE-2024-42009"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "0xbassiouny1337/CVE-2024-42009/exploit.py:57"
      ]
    }
  ],
  "rules": []
}
