Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22871

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22871
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:14 UTC · Revision 1

Source evidence

CVE-2021-22871

core-osv · Original source

Published 26 Jan 2021, 18:16 UTC

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.

osv:CVE-2021-22871
Complete source record
{
  "id": "5c2631a4d5d2bb18fd22f12014e316ab2097877869b1f89ab48abb558c7e7f56",
  "url": "https://osv.dev/vulnerability/CVE-2021-22871",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22871",
    "summary": "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.",
    "evidence": "osv:CVE-2021-22871",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-22871",
      "aliases": [
        "CVE-2021-22871"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/revive-adserver/revive-adserver",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1dbcf7d50e0704449e72376baa4c37c88627249e"
                },
                {
                  "fixed": "62a2a0439"
                },
                {
                  "fixed": "89b88ce26"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:revive-adserver:revive_adserver:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "62a2a0439"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "89b88ce26"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.1.0-rc1",
            "v5.0.5",
            "v5.0.4",
            "v5.0.3",
            "v5.0.1",
            "v5.0.0",
            "v5.0.0-rc1",
            "v4.2.1",
            "v4.2.0",
            "v4.2.0-rc1",
            "v4.1.4",
            "v4.1.3",
            "v4.1.2",
            "v4.1.0",
            "v4.1.0-rc1",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0",
            "v4.0.0-rc1",
            "v3.2.1",
            "v3.2.1-rc1",
            "v3.2.0",
            "v3.2.0-beta",
            "v3.1.0",
            "v3.1.0-beta",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22871.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:35.927204471Z",
      "provider": "osv",
      "references": [
        "https://www.revive-adserver.com/security/revive-sa-2021-001/",
        "https://github.com/revive-adserver/revive-adserver/commit/62a2a0439",
        "https://github.com/revive-adserver/revive-adserver/commit/89b88ce26",
        "https://hackerone.com/reports/819362"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22871",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384431,
  "published_at": "2021-01-26T18:16:19.02+00:00"
}