CVE-2021-29438

Source
https://cve.org/CVERecord?id=CVE-2021-29438
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29438.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-29438
Aliases
Published
2021-04-13T20:15:22.187Z
Modified
2026-07-08T06:29:57.402626313Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:nextcloud\\/dialogs_project:nextcloud\\/dialogs:*:*:*:*:*:node.js:*:*"
            ],
            "source": "CPE_RANGE",
            "extracted_events": [
                {
                    "fixed": "3.1.2"
                }
            ],
            "vendor_product": "nextcloud/dialogs_project:nextcloud/dialogs"
        }
    ]
}
References

Affected packages

Git / github.com/nextcloud-libraries/nextcloud-dialogs

Affected ranges

Type
GIT
Repo
https://github.com/nextcloud-libraries/nextcloud-dialogs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "DESCRIPTION",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.1.2"
        }
    ]
}

Affected versions

v0.*
v0.0.1
v0.0.2
v0.0.3
v0.1.0
v0.1.1
v1.*
v1.0.0
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.3.0
v1.3.1
v1.4.0
v2.*
v2.0.0
v2.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29438.json"