{"apiVersion":"1.0","identifier":"CVE-2026-45118","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->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.","publishedAt":"2026-08-18T16:17:06","lastModifiedAt":"2026-08-18T18:17:34","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-45118","cvssScore":9.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","epssProbability":0.00384,"riskScore":0.96,"affectedProduct":"MyBB","affectedVersions":"<1.8.40","vulnerabilityType":"Web app","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-45118","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-45118","en":"https://www.redsauce.net/en/cves/CVE-2026-45118","fr":"https://www.redsauce.net/fr/cves/CVE-2026-45118","pt":"https://www.redsauce.net/pt/cves/CVE-2026-45118","de":"https://www.redsauce.net/de/cves/CVE-2026-45118","sk":"https://www.redsauce.net/sk/cves/CVE-2026-45118","el":"https://www.redsauce.net/el/cves/CVE-2026-45118"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-45118"}}