Lucene search

K
osvGoogleOSV:GHSA-G3FQ-3V3G-MH32
HistoryApr 16, 2021 - 7:52 p.m.

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in @nextcloud/dialogs

2021-04-1619:52:58
Google
osv.dev
8

0.001 Low

EPSS

Percentile

22.9%

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.

CPENameOperatorVersion
@nextcloud/dialogslt3.1.2

0.001 Low

EPSS

Percentile

22.9%

Related for OSV:GHSA-G3FQ-3V3G-MH32