{"id":"GHSA-6jp6-9rf9-gc66","summary":"Cross-site Scripting in Weblate","details":"### Impact\nDue to improper neutralization, it was possible to perform cross-site scripting via crafted user and language names.\n\n### Patches\n\nThe issues were fixed in the 4.11 release. The following commits are addressing it:\n\n* f6753a1a1c63fade6ad418fbda827c6750ab0bda\n* 9e19a8414337692cc90da2a91c9af5420f2952f1\n* 22d577b1f1e88665a88b4569380148030e0f8389\n\n### Workarounds\n\nYou can look for crafted user and language names to see if you were affected.\n\n### References\n* https://hackerone.com/reports/1486674\n* https://hackerone.com/reports/1486718\n* https://hackerone.com/reports/1485226\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a topic in [discussions](https://github.com/WeblateOrg/weblate/discussions)\n* Email us at [care@weblate.org](mailto:care@weblate.org)","aliases":["BIT-weblate-2022-24710","CVE-2022-24710","PYSEC-2022-35"],"modified":"2024-11-19T19:06:44.383476Z","published":"2022-02-25T22:18:50Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-02-25T22:18:50Z","nvd_published_at":"2022-02-25T21:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-6jp6-9rf9-gc66"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24710"},{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/commit/22d577b1f1e88665a88b4569380148030e0f8389"},{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/commit/9e19a8414337692cc90da2a91c9af5420f2952f1"},{"type":"WEB","url":"https://github.com/WeblateOrg/weblate/commit/f6753a1a1c63fade6ad418fbda827c6750ab0bda"},{"type":"WEB","url":"https://github.com/WeblateOrg/weblate"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/weblate/PYSEC-2022-35.yaml"}],"affected":[{"package":{"name":"weblate","ecosystem":"PyPI","purl":"pkg:pypi/weblate"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11"}]}],"versions":["1.9","2.0","2.1","2.10","2.10.1","2.11","2.12","2.13","2.13.1","2.14","2.14.1","2.15","2.16","2.17","2.17.1","2.18","2.19","2.19.1","2.2","2.20","2.3","2.4","2.5","2.6","2.7","2.8","2.9","3.0","3.0.1","3.1","3.1.1","3.10","3.10.1","3.10.2","3.10.3","3.11","3.11.1","3.11.2","3.11.3","3.2","3.2.1","3.2.2","3.3","3.4","3.5","3.5.1","3.6","3.6.1","3.7","3.7.1","3.8","3.9","3.9.1","4.0","4.0.1","4.0.2","4.0.3","4.0.4","4.1","4.1.1","4.10","4.10.1","4.2","4.2.1","4.2.2","4.3","4.3.1","4.3.2","4.4","4.4.1","4.4.2","4.5","4.5.1","4.5.2","4.5.3","4.6","4.6.1","4.6.2","4.7","4.7.1","4.7.2","4.8","4.8.1","4.9","4.9.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-6jp6-9rf9-gc66/GHSA-6jp6-9rf9-gc66.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}