{"id":"CVE-2021-29438","aliases":["GHSA-g3fq-3v3g-mh32"],"url":"https://o3.security/vulnerability/CVE-2021-29438","summary":"Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in @nextcloud/dialogs","details":"### Impact\n\nThe 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.\n\n_Note_: Nextcloud Server employs a strict Content Security Policy that mitigates the risk of these XSS vulnerabilities.\n\n### Patches\n\nThe 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.\n\n### Workarounds\n\nMake sure no user-supplied input flows into toasts.","published":"2021-04-13T20:15:22.187Z","modified":"2026-08-27T08:14:55.434718Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"@nextcloud/dialogs","fixedVersion":"3.1.2"}],"fix":null,"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"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29438"},{"type":"WEB","url":"https://www.npmjs.com/package/@nextcloud/dialogs"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T08:14:55.434718Z"}}