CVE-2026-45118
published critical CVSS 3.1 · 9.3MyBB: Contact page reflected XSS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mybb | — | mybb< 1.8.40 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mybb | mybb | < 1.8.40 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-83 CWE-83: Improper Neutralization of Script in Attributes in a Web Page
References
3Provider assertions
2GitHub_M · cna
MyBB: Contact page reflected XSS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a7ab6a013f5a671ac821671175f969d61285f13810e1a85b4961f3a169730555
- Ingested
- 23 Sep 2026, 09:15:36 UTC
- Source record
- Official CVE record