{
  "id": "CVE-2026-45118",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45118",
  "published_at": "2026-08-18T15:55:27.28Z",
  "title": "MyBB: Contact page reflected XSS",
  "vendor": "mybb",
  "product": "mybb",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
  },
  "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": "MyBB is free and open source forum software. Prior to 1.8.40, the Contact module does not validate a redirect URL or protocol correctly, resulting in an open redirect and reflected JavaScript code injection. contact.php accepts the redirect target from the from HTTP parameter in $mybb-\u003einput['from'] or the Referer HTTP header in $_SERVER['HTTP_REFERER'] and passes it to redirect() without sufficient verification. A javascript: URI becomes the target of the `Click here if you don't want to wait any longer` link because $force_redirect is true, allowing script execution when a victim selects the link. This issue is fixed in version 1.8.40.",
  "cwe": "CWE-83",
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "mybb",
        "product": "mybb",
        "ranges": [
          "\u003c 1.8.40"
        ],
        "fixed_in": [
          "1.8.40"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mybb to 1.8.40 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mybb/mybb/security/advisories/GHSA-wf92-5q5h-qr53"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/mybb/mybb/releases/tag/mybb_1840"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
