CVE-2020-15139 Details
Description
In MyBB before version 1.8.24, the custom MyCode (BBCode) for the visual editor doesn't escape input properly when rendering HTML, resulting in a DOM-based XSS vulnerability. The weakness can be exploited by pointing a victim to a page where the visual editor is active (e.g. as a post or Private Message) and operates on a maliciously crafted MyCode message. This may occur on pages where message content is pre-filled using a GET/POST parameter, or on reply pages where a previously saved malicious message is quoted. After upgrading MyBB to 1.8.24, make sure to update the version attribute in the `codebuttons` template for non-default themes to serve the latest version of the patched `jscripts/bbcodes_sceditor.js` file.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mybb/mybb/commit/37ad29dcd25489a37bdd89ebac761f22492558b0 | CVE | PatchThird Party Advisory |
| https://github.com/mybb/mybb/security/advisories/GHSA-37h7-vfv6-f8rj | CVE | PatchThird Party Advisory |
| https://mybb.com/versions/1.8.24/ | CVE | PatchVendor Advisory |
| https://github.com/mybb/mybb/commit/37ad29dcd25489a37bdd89ebac761f22492558b0 | [email protected] | PatchThird Party Advisory |
| https://github.com/mybb/mybb/security/advisories/GHSA-37h7-vfv6-f8rj | [email protected] | PatchThird Party Advisory |
| https://mybb.com/versions/1.8.24/ | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mybb mybb | < 1.8.24 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 13, 2020 | Initial Analysis | [email protected] |