Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-45118

MyBB: Contact page reflected XSS
Back to all
CVE

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['HTTPREFERER'] 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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.3
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
C
H
U
-

Related Resources

No items found.

References

https://github.com/mybb/mybb/releases/tag/mybb_1840, https://mybb.com/versions/1.8.40, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45118.json, https://github.com/mybb/mybb/security/advisories/GHSA-wf92-5q5h-qr53, https://nvd.nist.gov/vuln/detail/CVE-2026-45118

Severity

9.3

CVSS Score
0
10

Basic Information

Base CVSS
9.3
EPSS Probability
0.00547%
EPSS Percentile
0.43606%
Introduced Version
0
Fix Available
e9942c6d19ac1709b3df7357cfb8810774c8d3ac

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading