CVE-2026-45118

MyBB: Contact page reflected XSS

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.


We have discovered 1,463 live websites that are affected by CVE-2026-45118.

Run a Free Instant Scan




Affected Software

Product  MyBB
Category Message Boards
Vulnerable Domains1,463 live websites (100% of MyBB install base)
Vulnerable Versions
  • from 0 through 1.8.40
Vulnerable Versions Count21 versions ( 100% of all versions)


Common Weakness Enumeration

CWE-83 Improper Neutralization of Script in Attributes in a Web Page



Details

  • Published - Aug 18, 2026
  • Updated - Aug 18, 2026

Website Distribution by Country

Number of websites using CVE-2026-45118
United States552 websites



Germany377 websites
Poland130 websites
France76 websites
GB37 websites
Turkey25 websites
Netherlands23 websites
Italy22 websites
Iran18 websites
Russia18 websites

Website Distribution by TLD

Number of websites using CVE-2026-45118
.com535 websites
.de268 websites
.net152 websites
.org91 websites
.pl87 websites
.eu32 websites
.ru23 websites
.it18 websites
.info13 websites
.fr13 websites

Vulnerable Versions

Vulnerable versions are highlighted in red

Websites affected by CVE-2026-45118

Top websites that are affected by CVE-2026-45118. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
*********.****.com United States**,***
******.******.org United States**,***
*****.****.tv United States***,***
********.pl Poland***,***
*************.org Laos***,***
*************.net United States***,***
************.pl Poland***,***
********.net United States***,***
**********.org United States***,***
*******.com United States***,***
See full domain list

FAQ

CVE-2026-45118 is Improper Neutralization of Script in Attributes in a Web Page in MyBB
A total of 1,463 websites have been identified as vulnerable to CVE-2026-45118, based on global website indexing conducted by WebTechSurvey.
The MyBB is affected by the CVE-2026-45118 vulnerability.
MyBB versions up to 1.8.40 are vulnerable to CVE-2026-45118.
CVE-2026-45118 is resolved in version 1.8.40 of MyBB.