PT-2026-77170 · Mybb · Mybb

CVE-2026-45116

·

Published

2026-08-18

·

Updated

2026-08-18

CVSS v3.1

8.7

High

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions MyBB versions prior to 1.8.40
Description The user datahandler fails to properly validate checkbox and multiselect profile field types, leading to stored JavaScript code injection. The UserDataHandler::verify profile fields() function only applies specialized validation when is array($profile fields[$field]) is true. If a non-array value is provided for profile fields[fidX] instead of the expected profile fields[fidX][] format, the input bypasses verification and is stored as generic text. This stored value is subsequently rendered directly by member.php and inc/functions post.php without being processed by the MyCode parser.
Recommendations Update to version 1.8.40.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-45116
GHSA-4P6G-P3QH-559V

Affected Products

Mybb