{"id":"GHSA-whv6-rj84-2vh2","aliases":["GHSA-whv6-rj84-2vh2"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in nextcloud-vue-collections","summary":"Versions of `nextcloud-vue-collections` prior to 0.4.2 are vulnerable to Cross-Site Scripting (XSS).  The `v-tooltip` component has an insecure `defaultHTML` configuration that allows arbitrary JavaScript to be injected in the tooltip of a collection item. This allows attackers to execute arbitrary code in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 0.4.2 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `nextcloud-vue-collections` prior to 0.4.2 are vulnerable to Cross-Site Scripting (XSS).  The `v-tooltip` component has an insecure `defaultHTML` configuration that allows arbitrary JavaScript to be injected in the tooltip of a collection item. This allows attackers to execute arbitrary code in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 0.4.2 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-04T17:21:58.000Z","modified":"2021-10-04T20:36:41.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.2"}],"ecosystem":"npm","package":"nextcloud-vue-collections","purl":"pkg:npm/nextcloud-vue-collections","source":"ghsa"}],"references":[{"url":"https://github.com/juliushaertl/nextcloud-vue-collections/commit/8ec1fca214f003538cec4137792ede928f25f583","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/juliushaertl/nextcloud-vue-collections","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1442","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-whv6-rj84-2vh2","url":"https://github.com/advisories/GHSA-whv6-rj84-2vh2","licence":"CC-BY-4.0","modified":"2021-10-04T20:36:41.000Z"}],"updatedAt":"2026-11-25T22:56:46.855Z"}