Cyber Resilience

CVE-2026-45118

XSS

Published
18 August 2026
Modified
18 August 2026
CVSS Score v3.1 9.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
EPSS Score 0.0038 32th percentile
Risk Priority 65 floored blend · peak EPSS

Summary

CVE-2026-45118 is a critical-severity Improper Neutralization of Script in Attributes in a Web Page (CWE-83) vulnerability in Mybb (inferred from references). Its CVSS base score is 9.3 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Content Injection (T1659); ranked at the 32th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SI-15 (Information Output Filtering) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1659 Content Injection Initial Access
Adversaries may gain access and continuously communicate with victims by injecting malicious content into systems through online network traffic.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-4615Shared CWE-83
CVE-2026-45669Shared CWE-83
CVE-2024-9103Shared CWE-83
CVE-2024-26283Shared CWE-83
CVE-2026-53841Shared CWE-83
CVE-2026-49276Shared CWE-83
CVE-2026-8245Shared CWE-83
CVE-2025-0137Shared CWE-83
CVE-2026-48591Shared CWE-83
CVE-2025-0125Shared CWE-83

Affected Assets

Mybb
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.3.4

Mitigating Controls (NIST 800-53 r5) AI

Input validation can reject or sanitize dangerous javascript: URIs and event-handler attributes before they reach rendered pages.

Output filtering directly neutralizes script content in HTML attributes, stopping the exact injection vector described by the CWE.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require output encoding and attribute neutralization to prevent this class of XSS.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Secure coding standards require proper escaping of untrusted data in HTML attributes, directly eliminating CWE-83.

finds

Security testing in development catches attribute-injection flaws before release but does not itself implement the fix.

prevents

Secure SDLC mandates input validation and output encoding that directly prevents script injection in HTML attributes.

prevents

Application security requirements explicitly call for controls against injection flaws including attribute-based script injection.

prevents

Secure architecture principles reduce attack surface but do not prescribe the specific neutralization techniques needed.

References