CVE-2021-22871 Cross-site scripting in https://github.com/revive-adserver/revive-adserver

Medium 4.8 Published Updated

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.

All Revive-Adserver Revive Adserver vulnerabilities

Sources

Also known as GHSA-m98h-4pjr-7pxh.

Is CVE-2021-22871 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free