Stored JavaScript Code Injection in MyBB Forum Software
CVE-2026-45116
8.7HIGH
What is CVE-2026-45116?
MyBB, an open-source forum software, is affected by a vulnerability that allows for stored JavaScript code injection due to improper validation of checkbox and multiselect profile field types. Specifically, the user datahandler does not verify the intended structure of profile_fields, which can lead to user-controlled data being stored unvalidated. This unverified input can be rendered directly on pages, exposing the application to XSS (Cross-Site Scripting) attacks. The issue has been resolved in version 1.8.40.
Affected Version(s)
mybb < 1.8.40
