# CVE-2020-15139: XSS in MyBB

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Published: 2020-08-10T21:35:13.000Z
- Modified: 2026-06-17T02:56:07.700Z
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- MyBB MyBB: < 1.8.24; before 1.8.24

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/mybb/mybb/security/advisories/GHSA-37h7-vfv6-f8rj> (patch, third-party-advisory)
- <https://github.com/mybb/mybb/commit/37ad29dcd25489a37bdd89ebac761f22492558b0> (patch, third-party-advisory)
- <https://mybb.com/versions/1.8.24/> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2020-15139](https://www.cve.org/CVERecord?id=CVE-2020-15139), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-15139](https://nvd.nist.gov/vuln/detail/CVE-2020-15139), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15139 · Whole record: https://cve.day/CVE-2020-15139.json · Rebuilt by cve.day 2026-11-25T22:57:53.924Z
