Advisory

GHSA-6jp6-9rf9-gc66

Also known as: BIT-weblate-2022-24710, CVE-2022-24710, PYSEC-2022-35

Summary

Cross-site Scripting in Weblate

Details

Impact
Due to improper neutralization, it was possible to perform cross-site scripting via crafted user and language names.

Patches

The issues were fixed in the 4.11 release. The following commits are addressing it:

  • f6753a1a1c63fade6ad418fbda827c6750ab0bda
  • 9e19a8414337692cc90da2a91c9af5420f2952f1
  • 22d577b1f1e88665a88b4569380148030e0f8389

Workarounds

You can look for crafted user and language names to see if you were affected.

References

  • https://hackerone.com/reports/1486674
  • https://hackerone.com/reports/1486718
  • https://hackerone.com/reports/1485226

For more information
If you have any questions or comments about this advisory:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-02-25 22:18 UTC
Modified
2024-11-19 18:54 UTC

Affected packages and fixes

weblate

PyPI · All systems

Affected

  • introduced 0, fixed 4.11 (ecosystem)

Fixed versions

4.11

Fix

  • Fixed version 4.11
    pip install --upgrade weblate==4.11

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