Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-25986

In Django-wiki, versions 0.0.20 to 0.7.8 are vulnerable to Stored Cross-Site Scripting (XSS) in Notifications Section. An attacker who has access to edit pages can inject JavaScript payload in the title field. When a victim gets a notification regarding the changes made in the application, the payload in the notification panel renders and loads external JavaScript.

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

Source evidence

CVE-2021-25986

core-osv · Original source

Published 23 Nov 2021, 20:15 UTC

In Django-wiki, versions 0.0.20 to 0.7.8 are vulnerable to Stored Cross-Site Scripting (XSS) in Notifications Section. An attacker who has access to edit pages can inject JavaScript payload in the title field. When a victim gets a notification regarding the changes made in the application, the payload in the notification panel renders and loads external JavaScript.

osv:CVE-2021-25986
Complete source record
{
  "id": "4b7d07cebd69883c36b46767b315b265ec9ba901d721fc624e61fe48f66cab71",
  "url": "https://osv.dev/vulnerability/CVE-2021-25986",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-25986",
    "summary": "In Django-wiki, versions 0.0.20 to 0.7.8 are vulnerable to Stored Cross-Site Scripting (XSS) in Notifications Section. An attacker who has access to edit pages can inject JavaScript payload in the title field. When a victim gets a notification regarding the changes made in the application, the payload in the notification panel renders and loads external JavaScript.",
    "evidence": "osv:CVE-2021-25986",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-25986",
      "aliases": [
        "CVE-2021-25986",
        "GHSA-3m3h-v9hv-9j4h",
        "PYSEC-2021-850"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/django-wiki/django-wiki",
              "type": "GIT",
              "events": [
                {
                  "introduced": "00cf45b6dc5c82efab2fbf79ad1560bc722509f1"
                },
                {
                  "last_affected": "28dcfabda3b331d0004bad8c5c589bd441be4301"
                },
                {
                  "fixed": "9eaccc7519e4206a4d2f22640882f0737b2da9c5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:django-wiki_project:django-wiki:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.0.20"
                      },
                      {
                        "last_affected": "0.7.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9eaccc7519e4206a4d2f22640882f0737b2da9c5"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "releases/0.7.8",
            "releases/0.7.7",
            "releases/0.7.6",
            "releases/0.7.5",
            "releases/0.7.4",
            "releases/0.7.3",
            "releases/0.7.2",
            "releases/0.7.1",
            "releases/0.7",
            "releases/0.6",
            "beta/0.6b2",
            "beta/0.6b1",
            "releases/0.5",
            "releases/0.4.1",
            "releases/0.4",
            "beta/0.4b3",
            "beta/0.4b2",
            "beta/0.4b1",
            "alpha/0.4a5",
            "alpha/0.4a4",
            "alpha/0.4a3",
            "alpha/0.4a2",
            "alpha/0.4a1",
            "releases/0.3",
            "releases/0.2.3",
            "beta/0.3b4",
            "beta/0.3b3",
            "beta/0.3b2",
            "beta/0.3b1",
            "releases/0.2.2",
            "releases/0.2.1",
            "releases/0.2",
            "releases/0.2b2",
            "releases/0.2b1",
            "releases/0.1.2",
            "releases/0.1.1",
            "releases/0.1",
            "alpha/0.0.24",
            "alpha/0.0.22",
            "alpha/0.0.23",
            "alpha/0.0.20"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25986.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:40.761633187Z",
      "provider": "osv",
      "references": [
        "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986",
        "https://github.com/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-25986",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384487,
  "published_at": "2021-11-23T20:15:10.583+00:00"
}