Vulnerability Details : CVE-2020-15139
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2020-15139
- cpe:2.3:a:mybb:mybb:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-15139
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 36 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-15139
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
GitHub, Inc. |
CWE ids for CVE-2020-15139
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2020-15139
-
https://github.com/mybb/mybb/security/advisories/GHSA-37h7-vfv6-f8rj
MyCode message formatting XSS in visual editor · Advisory · mybb/mybb · GitHubPatch;Third Party Advisory
-
https://github.com/mybb/mybb/commit/37ad29dcd25489a37bdd89ebac761f22492558b0
Fix MyCode message formatting XSS in visual editor · mybb/mybb@37ad29d · GitHubPatch;Third Party Advisory
-
https://mybb.com/versions/1.8.24/
Version 1.8.24 - MyBBPatch;Vendor Advisory
Jump to