FR
live
High CVSS 8.7

CVE-2026-45115

NVD analysis in progress

MyBB is free and open source forum software. Prior to 1.8.40, the Buddy/Ignore component does not sanitize usernames correctly, allowing attackers to perform JavaScript code injection through a specially crafted username. The User CP Buddy/Ignore list and the Select Buddies list in Private Messages pass usernames through htmlspecialchars_uni(), which may leave single quotes unescaped. The payload is triggered when a victim chooses Yes in Please Confirm while removing the username in usercp.php, or selects the username through the onclick handler in the xmlhttp.php Select Buddies popup. The uniquely identifying implementation details include Private Messages Select Buddies list, and unescaped single quotes. This issue is fixed in version 1.8.40.

What this means

Exposure
Exploitable remotely over the network and with an ordinary user account — but only if a user opens booby-trapped content.
Impact
An attacker can read sensitive data and modify or destroy data. The impact spreads beyond the vulnerable component into other parts of the system.
Weakness
Attacker-supplied script runs in other users’ browsers (cross-site scripting).
Likelihood
Its EPSS score stays low: nothing points to imminent exploitation, which is no reason to leave it unpatched.

What to doFold into the next patch cycle.

Read automatically from the CVSS vector, the weakness type (CWE) and the EPSS score. The technical description above remains the one published by NIST.

Published
18 August 2026
CVSS
8.7 (v3.1) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
EPSS
0.29% probability of exploitation within 30 days · above 21% of all CVEs
Weakness
CWE-79
Sources
nvd
References

Type at least two characters.

navigate open esc dismiss