{"containers":{"cna":{"affected":[{"product":"MyBB","vendor":"MyBB","versions":[{"status":"affected","version":"< 1.8.24"}]}],"descriptions":[{"lang":"en","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."}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2020-08-10T21:35:13.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/mybb/mybb/security/advisories/GHSA-37h7-vfv6-f8rj"},{"tags":["x_refsource_MISC"],"url":"https://github.com/mybb/mybb/commit/37ad29dcd25489a37bdd89ebac761f22492558b0"},{"tags":["x_refsource_MISC"],"url":"https://mybb.com/versions/1.8.24/"}],"source":{"advisory":"GHSA-37h7-vfv6-f8rj","discovery":"UNKNOWN"},"title":"XSS in MyBB","x_legacyV4Record":{"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"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T13:08:22.286Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/mybb/mybb/security/advisories/GHSA-37h7-vfv6-f8rj"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/mybb/mybb/commit/37ad29dcd25489a37bdd89ebac761f22492558b0"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://mybb.com/versions/1.8.24/"}]}]},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2020-15139","datePublished":"2020-08-10T21:35:13.000Z","dateReserved":"2020-06-25T00:00:00.000Z","dateUpdated":"2024-08-04T13:08:22.286Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}