{"id":"CVE-2021-22889","published":"2021-03-25T19:40:55Z","modified":"2024-08-03T18:58:24Z","title":"Revive Adserver before v5.2.0 is vulnerable to a reflected XSS vulnerability in the `statsBreakdown` parameter of…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.30423,"percentile":0.98275,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"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","tags":["x_refsource_MISC"]}],"priority":{"score":19.7,"factors":[{"name":"EPSS percentile","points":19.66}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/revive-adserver/revive-adserver","versions":["Fixed in v5.2.0"]}],"summary":{"text":"A reflected cross-site scripting flaw exists in Revive Adserver before v5.2.0, where the statsBreakdown parameter of stats.php (and possibly other scripts) fails to escape single quotes. An attacker who can get a user with access to the Revive Adserver user interface to click a specially crafted URL and press a certain key combination could execute injected JavaScript.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:40:17Z"},"euvd":{"id":"EUVD-2021-10021","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2016-9455-family-cve-2016-9455","parents":[{"from":"CVE-2021-22875","to":"CVE-2021-22889","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/OA/Admin/Statistics/Common.php"],"commits":["https://github.com/revive-adserver/revive-adserver/commit/6f46076a79a56bcd971a1cfee47f7a606d9dae75","https://github.com/revive-adserver/revive-adserver/commit/2f868414190e69322716ea7667f7336f291c3cf2"],"basis":"rarely changed file"}]}]}}