CVE-2026-45115

Source
https://cve.org/CVERecord?id=CVE-2026-45115
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45115.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45115
Aliases
  • GHSA-p766-qqxv-rfc2
Published
2026-08-18T15:46:00.862Z
Modified
2026-08-20T03:54:19.449434661Z
Severity
  • 8.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
Summary
MyBB: Buddy/ignore list username XSS
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "1.8.40"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45115.json"
}
References

Affected packages

Git / github.com/mybb/mybb

Affected ranges

Type
GIT
Repo
https://github.com/mybb/mybb
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}

Affected versions

Other
mybb_1800
mybb_1801
mybb_1804
mybb_1805
mybb_1806
mybb_1807
mybb_1808
mybb_1809
mybb_1810
mybb_1811
mybb_1812
mybb_1813
mybb_1814
mybb_1815
mybb_1815_build
mybb_1816
mybb_1816_build
mybb_1817
mybb_1817_build
mybb_1818
mybb_1818_build
mybb_1819
mybb_1819_build
mybb_1820
mybb_1820-rc
mybb_1820_build
mybb_1821
mybb_1821_build
mybb_1821pl1
mybb_1822
mybb_1822_build
mybb_1823
mybb_1823_build
mybb_1827
mybb_1827_build
mybb_1828
mybb_1828_build
mybb_1829
mybb_1831
mybb_1831_build
mybb_1832
mybb_1832_build
mybb_1833
mybb_1833_build
mybb_1834
mybb_1834_build
mybb_1835
mybb_1835_build
mybb_1836
mybb_1837
mybb_1837_build
mybb_1838
mybb_1838_build
mybb_1839
mybb_1839_build

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45115.json"