{"containers":{"cna":{"affected":[{"product":"https://github.com/revive-adserver/revive-adserver","vendor":"n/a","versions":[{"status":"affected","version":"Fixed in v5.2.0"}]}],"descriptions":[{"lang":"en","value":"Revive Adserver before v5.2.0 is vulnerable to a reflected XSS vulnerability in the `statsBreakdown` parameter of stats.php (and possibly other scripts) due to single quotes not being escaped. An attacker could trick a user with access to the user interface of a Revive Adserver instance into clicking on a specifically crafted URL and pressing a certain key combination to execute injected JavaScript code."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"Cross-site Scripting (XSS) - Reflected (CWE-79)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2021-03-25T19:40:55.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","shortName":"hackerone"},"references":[{"tags":["x_refsource_MISC"],"url":"https://www.revive-adserver.com/security/revive-sa-2021-003/"},{"tags":["x_refsource_MISC"],"url":"https://hackerone.com/reports/1097217"},{"tags":["x_refsource_MISC"],"url":"https://github.com/revive-adserver/revive-adserver/commit/2f868414"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","ID":"CVE-2021-22889","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"https://github.com/revive-adserver/revive-adserver","version":{"version_data":[{"version_value":"Fixed in v5.2.0"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Revive Adserver before v5.2.0 is vulnerable to a reflected XSS vulnerability in the `statsBreakdown` parameter of stats.php (and possibly other scripts) due to single quotes not being escaped. An attacker could trick a user with access to the user interface of a Revive Adserver instance into clicking on a specifically crafted URL and pressing a certain key combination to execute injected JavaScript code."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Cross-site Scripting (XSS) - Reflected (CWE-79)"}]}]},"references":{"reference_data":[{"name":"https://www.revive-adserver.com/security/revive-sa-2021-003/","refsource":"MISC","url":"https://www.revive-adserver.com/security/revive-sa-2021-003/"},{"name":"https://hackerone.com/reports/1097217","refsource":"MISC","url":"https://hackerone.com/reports/1097217"},{"name":"https://github.com/revive-adserver/revive-adserver/commit/2f868414","refsource":"MISC","url":"https://github.com/revive-adserver/revive-adserver/commit/2f868414"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T18:58:24.797Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://www.revive-adserver.com/security/revive-sa-2021-003/"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://hackerone.com/reports/1097217"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/revive-adserver/revive-adserver/commit/2f868414"}]}]},"cveMetadata":{"assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","assignerShortName":"hackerone","cveId":"CVE-2021-22889","datePublished":"2021-03-25T19:40:55.000Z","dateReserved":"2021-01-06T00:00:00.000Z","dateUpdated":"2024-08-03T18:58:24.797Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}