CVE-2021-29438 – @nextcloud/dialogs
Package
Manager: npm
Name: @nextcloud/dialogs
Vulnerable Version: >=0 <3.1.2
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00224 pctl0.44979
Details
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in @nextcloud/dialogs ### Impact The Nextcloud dialogs library before 3.1.2 did insufficiently escape text input passed to a toast. If your application displays toasts with user-supplied input, this could lead to a XSS vulnerability. _Note_: Nextcloud Server employs a strict Content Security Policy that mitigates the risk of these XSS vulnerabilities. ### Patches 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. ### Workarounds Make sure no user-supplied input flows into toasts.
Metadata
Created: 2021-04-16T19:52:58Z
Modified: 2021-04-13T18:40:52Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-g3fq-3v3g-mh32/GHSA-g3fq-3v3g-mh32.json
CWE IDs: ["CWE-79", "CWE-80"]
Alternative ID: GHSA-g3fq-3v3g-mh32
Finding: F008
Auto approve: 1