CVE-2021-29438

MEDIUM

Nextcloud Dialogs < 3.1.2 - Cross-Site Scripting via Toast Input

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Various Sources x_refsource_misc
https://www.npmjs.com/package/%40nextcloud/dialogs

Scores

CVSS v3 4.6
EPSS 0.0022
EPSS Percentile 45.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Details

CWE
CWE-80 CWE-79
Status published
Products (2)
nextcloud/dialogs 0 - 3.1.2npm
nextcloud\/dialogs_project/nextcloud\/dialogs < 3.1.2
Published Apr 13, 2021
Tracked Since Feb 18, 2026