GHSA-whv6-rj84-2vh2

Suggest an improvement
Source
https://github.com/advisories/GHSA-whv6-rj84-2vh2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-whv6-rj84-2vh2/GHSA-whv6-rj84-2vh2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-whv6-rj84-2vh2
Published
2020-09-04T17:21:58Z
Modified
2021-10-04T20:36:41Z
Summary
Cross-Site Scripting in nextcloud-vue-collections
Details

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.

Recommendation

Upgrade to version 0.4.2 or later.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:59:28Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / nextcloud-vue-collections

Package

Name
nextcloud-vue-collections
View open source insights on deps.dev
Purl
pkg:npm/nextcloud-vue-collections

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.4.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-whv6-rj84-2vh2/GHSA-whv6-rj84-2vh2.json"