{"id":"CVE-2021-22871","details":"Revive Adserver before 5.1.0 permits any user with a manager account to store possibly malicious content in the URL website property, which is then displayed unsanitized in the affiliate-preview.php tag generation screen, leading to a persistent cross-site scripting (XSS) vulnerability.","modified":"2026-07-09T05:13:40.574750Z","published":"2021-01-26T18:16:19.020Z","references":[{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/161070/Revive-Adserver-5.0.5-Cross-Site-Scripting-Open-Redirect.html"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2021/Jan/60"},{"type":"ADVISORY","url":"https://www.revive-adserver.com/security/revive-sa-2021-001/"},{"type":"FIX","url":"https://github.com/revive-adserver/revive-adserver/commit/62a2a0439"},{"type":"FIX","url":"https://github.com/revive-adserver/revive-adserver/commit/89b88ce26"},{"type":"EVIDENCE","url":"https://hackerone.com/reports/819362"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/revive-adserver/revive-adserver","events":[{"introduced":"0"},{"fixed":"1dbcf7d50e0704449e72376baa4c37c88627249e"},{"fixed":"62a2a0439"},{"fixed":"89b88ce26"}],"database_specific":{"cpe":"cpe:2.3:a:revive-adserver:revive_adserver:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"5.1.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v5.1.0-rc1","v5.0.5","v5.0.4","v5.0.3","v5.0.1","v5.0.0","v5.0.0-rc1","v4.2.1","v4.2.0","v4.2.0-rc1","v4.1.4","v4.1.3","v4.1.2","v4.1.0","v4.1.0-rc1","v4.0.2","v4.0.1","v4.0.0","v4.0.0-rc1","v3.2.1","v3.2.1-rc1","v3.2.0","v3.2.0-beta","v3.1.0","v3.1.0-beta","v3.0.3","v3.0.2","v3.0.1","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22871.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}]}