{"id":"CVE-2026-45118","sourceIdentifier":"security-advisories@github.com","published":"2026-08-18T16:17:06.633","lastModified":"2026-09-08T21:02:26.047","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"mybb","product":"mybb","versions":[{"version":"< 1.8.40","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","baseScore":9.3,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":5.8}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-18T17:47:24.986811Z","id":"CVE-2026-45118","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-83"}]}],"references":[{"url":"https://github.com/mybb/mybb/releases/tag/mybb_1840","source":"security-advisories@github.com"},{"url":"https://github.com/mybb/mybb/security/advisories/GHSA-wf92-5q5h-qr53","source":"security-advisories@github.com"},{"url":"https://mybb.com/versions/1.8.40","source":"security-advisories@github.com"}]}