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.
Remediation
References
https://github.com/nextcloud/nextcloud-dialogs/security/advisories/GHSA-g3fq-3v3g-mh32
https://www.npmjs.com/package/%40nextcloud/dialogs
Related Vulnerabilities
CVE-2017-16133 Vulnerability in npm package goserv
CVE-2021-43138 Vulnerability in maven package org.webjars.bower:async
CVE-2019-10787 Vulnerability in npm package im-resize
CVE-2019-10742 Vulnerability in maven package org.webjars.bowergithub.axios:axios
CVE-2023-36542 Vulnerability in maven package org.apache.nifi:nifi-record-serialization-services