GHSA-xqxm-2rpm-3889

Suggest an improvement
Source
https://github.com/advisories/GHSA-xqxm-2rpm-3889
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-xqxm-2rpm-3889/GHSA-xqxm-2rpm-3889.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xqxm-2rpm-3889
Aliases
Published
2022-01-21T23:43:50Z
Modified
2024-11-19T16:22:53Z
Severity
  • 3.5 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Comment reply notifications sent to incorrect users
Details

Impact

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 had editing access to, as long as they have left a comment or reply somewhere on the site.

Patches

A patched version has been released as Wagtail 2.15.2 (for the current LTS), which restores the intended behaviour - to send notifications for new replies to the participants in the active thread only (editing permissions are not considered).

Workarounds

New comments can be disabled by setting WAGTAILADMIN_COMMENTS_ENABLED = False in the Django settings file.

Acknowledgements

Many thanks to Ihor Marhitych for identifying this issue.

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids":  [
        "CWE-200"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-01-18T21:16:18Z",
    "nvd_published_at":  "2022-01-18T18:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

PyPI / wagtail

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.13
Fixed
2.15.2

Affected versions

2.*
2.13
2.13.1
2.13.2
2.13.3
2.13.4
2.13.5
2.14rc1
2.14
2.14.1
2.14.2
2.15rc1
2.15rc2
2.15
2.15.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-xqxm-2rpm-3889/GHSA-xqxm-2rpm-3889.json"