Security readout for executives and security teams
Plain-English summary
This flaw lets someone with page-edit access in Django-wiki store malicious script in a page title. When another user receives a related notification, the notification panel can run that script. Business impact is targeted account or data exposure inside affected wiki deployments, not system takeover.
Executive priority
Treat as a moderate priority for any wiki where many users can edit pages. Patch during the next regular security maintenance window, sooner if editors include external users, contractors, or compromised-account risk is elevated.
Technical view
CVE-2021-25986 is stored XSS in the Django-wiki notifications section, affecting versions 0.0.20 through 0.7.8. The title field is not safely handled in notification rendering, allowing JavaScript execution when a victim views the notification. CVSS 3.1 score is 5.4, CWE-79.
Likely exposure
Exposure is most likely where Django-wiki is deployed and page editing is available to untrusted, semi-trusted, or broad internal users. Risk is lower for private wikis with tightly controlled editor roles and limited notification use.
Exploitation context
The provided sources do not show active exploitation, and the CVE is not listed as KEV. Exploitation requires page-edit privileges and victim interaction with the notification panel. Impact is limited to confidentiality and integrity effects from browser-side script execution.
Researcher notes
Key constraints are low attack complexity, required editor privileges, and required victim interaction. Scope is changed because browser execution can affect another user context. Sources identify the vulnerable feature and version range but do not provide evidence of exploitation in the wild.
Mitigation direction
- Identify Django-wiki deployments and versions in use.
- Apply the vendor-published fix or a non-affected release after verification.
- Restrict page-edit permissions to trusted users until remediated.
- Review notifications and page titles for unexpected markup or script-like content.
- Check vendor guidance before relying on temporary workarounds.
Validation and detection
- Confirm whether any deployment runs Django-wiki 0.0.20 through 0.7.8.
- Verify who can edit pages and trigger notifications.
- Review the referenced upstream commit and release notes for the applied fix.
- Confirm notification rendering escapes page titles after remediation.
- Retest with benign encoded markup in a non-production environment.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2021-25986 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.4 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N2.32.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.4MediumVector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/django-wiki/django-wiki/commit/9eaccc7519e4206a4d2f22640882f0737b2da9c5CVE reference · x_refsource_MISC
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25986CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
