Vulnerability · Published Jan 18, 2022 · Assigned by GitHub_M
CVE-2022-21683Comment reply notifications sent to incorrect users in wagtail
Low 3.5
In plain English
A low-severity information exposure in wagtail from wagtail. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Wagtail is a Django based content management system focused on flexibility and user experience. When notifications for new replies in comment threads are sent, they are sent to all users who have replied or commented anywhere on the site, rather than only in the relevant threads. This means that a user could listen in to new comment replies on pages they have not have editing access to, as long as they have left a comment or reply somewhere on the site. A patched version has been released as Wagtail 2.15.2, which restores the intended behaviour - to send notifications for new replies to the participants in the active thread only (editing permissions are not considered). New comments can be disabled by setting `WAGTAILADMIN_COMMENTS_ENABLED = False` in the Django settings file.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | wagtail | 2.15.2 | GHSA-xqxm-2rpm-3889 |
| PyPI | wagtail | 2.15.2 | PYSEC-2022-13 |
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
References
- https://github.com/wagtail/wagtail/security/advisories/GHSA-xqxm-2rpm-3889 x_refsource_CONFIRM
- https://github.com/wagtail/wagtail/commit/5fe901e5d86ed02dbbb63039a897582951266afd x_refsource_MISC
- https://github.com/wagtail/wagtail/releases/tag/v2.15.2 x_refsource_MISC