{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:revive-adserver:revive_adserver:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.1.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1dbcf7d50e0704449e72376baa4c37c88627249e"
            },
            {
              "fixed": "62a2a0439"
            },
            {
              "fixed": "89b88ce26"
            }
          ],
          "repo": "https://github.com/revive-adserver/revive-adserver",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "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.",
  "id": "CVE-2021-22871",
  "modified": "2026-07-08T05:37:01.077607535Z",
  "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"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}