Advisory

GHSA-3m3h-v9hv-9j4h

Also known as: CVE-2021-25986, PYSEC-2021-850

Summary

Cross-site Scripting in django-wiki

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-12-02 17:49 UTC
Modified
2024-11-19 19:10 UTC

Affected packages and fixes

wiki

PyPI · All systems

Affected

  • introduced 0.0.20, fixed 0.7.9 (ecosystem)

Fixed versions

0.7.9

Fix

  • Fixed version 0.7.9
    pip install --upgrade wiki==0.7.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences