# 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 deli…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.49%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-01-21T19:15:02.000Z
- Modified: 2026-06-17T03:37:55.240Z
- Weaknesses: CWE-79
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- https://github.com/revive-adserver/revive-adserver: Fixed in 5.1.0
- revive-adserver revive_adserver: before 5.1.0

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://hackerone.com/reports/986365> (exploit, third-party-advisory)
- <http://packetstormsecurity.com/files/161070/Revive-Adserver-5.0.5-Cross-Site-Scripting-Open-Redirect.html> (exploit, third-party-advisory, vdb-entry)
- <https://www.revive-adserver.com/security/revive-sa-2021-001/> (vendor-advisory)
- <https://github.com/revive-adserver/revive-adserver/commit/00fdb8d0e> (patch, third-party-advisory)
- <https://github.com/revive-adserver/revive-adserver/commit/1dbcf7d50> (patch, third-party-advisory)
- <http://seclists.org/fulldisclosure/2021/Jan/60> (broken-link, mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-22872](https://www.cve.org/CVERecord?id=CVE-2021-22872), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-22872](https://nvd.nist.gov/vuln/detail/CVE-2021-22872), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22872 · Whole record: https://cve.day/CVE-2021-22872.json · Rebuilt by cve.day 2026-11-25T22:57:59.722Z
