{"id":"UBUNTU-CVE-2018-25050","details":"A vulnerability, which was classified as problematic, has been found in Harvest Chosen up to 1.8.6. Affected by this issue is the function AbstractChosen of the file coffee/lib/abstract-chosen.coffee. The manipulation of the argument group_label leads to cross site scripting. The attack may be launched remotely. Upgrading to version 1.8.7 is able to address this issue. The name of the patch is 77fd031d541e77510268d1041ed37798fdd1017e. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216956.","modified":"2026-10-17T12:55:26.170546506Z","published":"2022-12-28T10:15:00Z","upstream":["CVE-2018-25050"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-25050"},{"type":"REPORT","url":"https://github.com/harvesthq/chosen/releases/tag/v1.8.7"},{"type":"REPORT","url":"https://github.com/harvesthq/chosen/pull/2997"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-25050"}],"affected":[{"package":{"name":"libjs-chosen","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libjs-chosen?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.11-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.11-2","binary_name":"libjs-chosen"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25050.json"}},{"package":{"name":"libjs-chosen","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libjs-chosen?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.15-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.15-2","binary_name":"libjs-chosen"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25050.json"}},{"package":{"name":"libjs-chosen","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libjs-chosen?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.7+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-chosen","binary_version":"1.8.7+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25050.json"}},{"package":{"name":"libjs-chosen","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libjs-chosen?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.7+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-chosen","binary_version":"1.8.7+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25050.json"}},{"package":{"name":"libjs-chosen","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libjs-chosen?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.7+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-chosen","binary_version":"1.8.7+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25050.json"}},{"package":{"name":"libjs-chosen","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libjs-chosen?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.7+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-chosen","binary_version":"1.8.7+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25050.json"}},{"package":{"name":"libjs-chosen","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libjs-chosen?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.7+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-chosen","binary_version":"1.8.7+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25050.json"}},{"package":{"name":"libjs-chosen","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libjs-chosen?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.7+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-chosen","binary_version":"1.8.7+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25050.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}