LiveActive security incident?Get immediate response
CVE Record

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.

CriticalCVSS 9.3Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

MyBB versions before 1.8.40 contain a contact-page flaw that can send users to an attacker-controlled destination and execute browser script after they select a redirect link. Successful abuse could expose sensitive browser-accessible information or enable actions in the user’s forum session. User interaction is required.

Executive priority

Treat this as an urgent internet-facing application update. Patch public MyBB forums promptly, prioritizing systems with administrative use or sensitive session data. Although no active exploitation is established in the supplied evidence, the critical score, unauthenticated reachability, and potential browser-session impact justify accelerated remediation.

Technical view

The Contact module accepts a redirect target from the HTTP “from” parameter or Referer header and passes it to redirect() without adequate URL or protocol validation. With forced redirects enabled, an unsafe URI can populate the fallback link, creating open-redirect and reflected script-injection behavior. MyBB 1.8.40 fixes the issue.

Likely exposure

Internet-accessible MyBB installations running versions earlier than 1.8.40 are potentially exposed when contact.php is reachable. Risk is greatest where authenticated administrators or other privileged users could be persuaded to follow a crafted request and select the displayed redirect link. The supplied sources do not quantify affected deployments.

Exploitation context

The CVSS 3.1 score is 9.3, reflecting network reachability, low complexity, no required privileges, user interaction, and cross-scope confidentiality and integrity impact. The supplied bundle says this CVE is not in KEV and provides no evidence of active exploitation. Exploitation still requires a victim to select the redirect link.

Researcher notes

The issue is identified as CWE-83. Relevant input sources are $mybb->input['from'] and $_SERVER['HTTP_REFERER']; the sink is redirect() with forced redirect behavior. The fallback link is the interaction point. The bundle does not provide exploitation telemetry, affected deployment counts, or detailed patch internals, so those points remain unverified.

Mitigation direction

  • Upgrade affected MyBB installations to version 1.8.40 or later.
  • Prioritize public forums and installations used by privileged administrators.
  • Review the MyBB advisory and release guidance before applying the update.
  • Limit contact.php exposure temporarily if upgrading cannot be completed promptly.

Validation and detection

  • Inventory MyBB installations and confirm their deployed versions.
  • Verify every installation is running MyBB 1.8.40 or later.
  • Identify whether contact.php is reachable from untrusted networks.
  • After upgrading, confirm redirect targets receive the vendor’s intended validation.
  • Review relevant web logs for unusual contact-page requests and external redirect values.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-83: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-45118 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.3CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N2.85.8GitHub_M

Vulnerability scoring details

Base CVSS 3.1 score

9.3Critical
CVSS 3.1 vector shape for CVE-2026-45118Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
mybbmybb< 1.8.40Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-83 · source CWE mapping

Improper Neutralization of Script in Attributes in a Web Page

Improper Neutralization of Script in Attributes in a Web Page represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.