{ "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2020-15139", "STATE": "PUBLIC", "TITLE": "XSS in MyBB" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "MyBB", "version": { "version_data": [ { "version_value": "< 1.8.24" } ] } } ] }, "vendor_name": "MyBB" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/mybb/mybb/security/advisories/GHSA-37h7-vfv6-f8rj", "refsource": "CONFIRM", "url": "https://github.com/mybb/mybb/security/advisories/GHSA-37h7-vfv6-f8rj" }, { "name": "https://github.com/mybb/mybb/commit/37ad29dcd25489a37bdd89ebac761f22492558b0", "refsource": "MISC", "url": "https://github.com/mybb/mybb/commit/37ad29dcd25489a37bdd89ebac761f22492558b0" }, { "name": "https://mybb.com/versions/1.8.24/", "refsource": "MISC", "url": "https://mybb.com/versions/1.8.24/" } ] }, "source": { "advisory": "GHSA-37h7-vfv6-f8rj", "discovery": "UNKNOWN" } }