CVE-2021-22871 Cross-site scripting in https://github.com/revive-adserver/revive-adserver
A manager user can inject malicious scripts via website URL properties, leading to persistent XSS in the affiliate preview screen.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-22871?
CVE-2021-22871 is a medium-severity cross-site scripting vulnerability in Revive-Adserver Revive Adserver, published on 21 Jan 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2021-22871?
It affects 1 product.
Products include Revive-Adserver Revive Adserver.
How do I fix CVE-2021-22871?
No fix has been published for CVE-2021-22871 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-22871 being exploited?
There is no known exploitation of CVE-2021-22871 in the wild and no public exploit code.
Other vulnerabilities in Revive-Adserver Revive Adserver
- CVE-2016-9124 Security feature bypass in Revive Adserver All versions before 3.2.3
- CVE-2016-9125 Auth bypass in Revive Adserver All versions before 3.2.3
- CVE-2017-5830 Deserialization in n/a
- CVE-2016-9470 Other in Revive Adserver All versions before 3.2.5 and 4.0.0
- CVE-2026-50741 Code injection in Adserver
Sources
Also known as GHSA-m98h-4pjr-7pxh.