{"id":"CVE-2021-29438","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.","aliases":["GHSA-g3fq-3v3g-mh32"],"modified":"2026-07-08T06:29:57.402626313Z","published":"2021-04-13T20:15:22.187Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"fixed":"3.1.2"}],"source":"CPE_RANGE","vendor_product":"nextcloud/dialogs_project:nextcloud/dialogs","cpes":["cpe:2.3:a:nextcloud\\/dialogs_project:nextcloud\\/dialogs:*:*:*:*:*:node.js:*:*"]}]},"references":[{"type":"WEB","url":"https://www.npmjs.com/package/%40nextcloud/dialogs"},{"type":"ADVISORY","url":"https://github.com/nextcloud/nextcloud-dialogs/security/advisories/GHSA-g3fq-3v3g-mh32"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nextcloud-libraries/nextcloud-dialogs","events":[{"introduced":"0"},{"fixed":"9e4acefa165177c40204aff768e24bcc4b4a6aec"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.1.2"}],"source":"DESCRIPTION"}}],"versions":["v2.0.1","v2.0.0","v1.4.0","v1.3.1","v1.3.0","v1.2.2","v1.2.1","v1.2.0","v1.1.0","v1.0.0","v0.1.1","v0.1.0","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29438.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}