CVE-2021-29438
Description
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.
How to fix
- @nextcloud/dialogs3.1.2 or later
- nextcloud\/dialogs_project nextcloud\/dialogs3.1.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @nextcloud/dialogsnpm | v < 3.1.2 | 3.1.2 |
| nextcloud\/dialogs_project nextcloud\/dialogs | v < 3.1.2 | 3.1.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.