XSS in Nextcloud Nextcloud-Dialogs

CVE-2021-29438

The Nextcloud dialogs library (npm package @nextcloud/dialogs) before 3.1.2 insufficiently escaped text input passed to a toast. If your application displays toasts with user-supplied input, this could lead to a XSS vulnerability. The vulnerability has been patched in version 3.1.2 If you need to display HTML in the toast, explicitly pass the `options.isHTML` config flag.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.007 (49.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.6 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-29438?
CVE-2021-29438 is a medium-severity vulnerability in Nextcloud Nextcloud-Dialogs, classified under Cross-site Scripting. CVSS score: 4.6/10. Published 2021-04-13.
How severe is CVE-2021-29438?
Medium severity. CVSS v3 base score is 4.6 out of 10.