{"id":"CVE-2026-45118","published":"2026-08-18T15:55:27Z","modified":"2026-08-18T17:52:25Z","title":"MyBB: Contact page reflected XSS","vendor":"mybb","product":"mybb","tier":"tail","description":{"text":"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->input['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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00547,"percentile":0.39426,"provenance":"source"},"cwes":[{"id":"CWE-83","name":"Improper Neutralization of Script in Attributes in a Web Page"}],"references":[{"url":"https://github.com/mybb/mybb/security/advisories/GHSA-wf92-5q5h-qr53","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mybb/mybb/releases/tag/mybb_1840","tags":["x_refsource_MISC"]},{"url":"https://mybb.com/versions/1.8.40","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":7.89},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"mybb","affectedVersions":[{"vendor":"mybb","product":"mybb","versions":["< 1.8.40"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-18T17:47:24.986811Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-61021","exploited":false,"provenance":"source"}}