MediumGHSA-x5q4-m45m-fm94CVE-2018-25050

Harvest Chosen vulnerable to Cross-site Scripting

Published 28 Dec 2022 · Updated 1 Mar 2024

Is your project on an affected harvesthq/chosen?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.8.7
Fixed in
1.8.7
Update to the fixed version for your release line, for example:composer require harvesthq/chosen:^1.8.7

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 can 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.

Is GHSA-x5q4-m45m-fm94 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected harvesthq/chosen, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.