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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.5
- **CVSS:** 3.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.65% (percentile 46, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-x5q4-m45m-fm94
- **Published:** 2022-12-28T09:04:39.839Z
- **Modified:** 2026-06-17T01:54:36.410Z

## Who should check

- Projects that depend on Packagist package harvesthq/chosen (\< 1.8.7)
- Anyone running Harvest Chosen 1.8.0; 1.8.1; 1.8.2; 1.8.3; 1.8.4; 1.8.5; 1.8.6

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

## Affected and fixed versions

- Packagist `harvesthq/chosen`: affected \< 1.8.7; fixed 1.8.7 (osv)
- Harvest Chosen: 1.8.0; 1.8.1; 1.8.2; 1.8.3; 1.8.4; 1.8.5; 1.8.6 (cvelist)

## Mitigation

- Upgrade harvesthq/chosen to 1.8.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-25050. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-25050.md
Affected: harvesthq/chosen < 1.8.7
Fixed in: 1.8.7

Steps:
1. Search this machine and project for harvesthq/chosen (Packagist), Harvest Chosen: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2018-25050 being exploited?

There is no confirmed exploitation: CVE-2018-25050 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.65% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-25050?

Low: CVSS 3.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2018-25050?

harvesthq/chosen \< 1.8.7.

### Is there a fix for CVE-2018-25050?

Yes. Fixed in 1.8.7. Upgrade harvesthq/chosen to 1.8.7 or later.

### How do I check if I'm affected by CVE-2018-25050?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-25050>
- patch: <https://github.com/harvesthq/chosen/pull/2997>
- patch: <https://github.com/harvesthq/chosen/commit/77fd031d541e77510268d1041ed37798fdd1017e>
- patch: <https://github.com/harvesthq/chosen/releases/tag/v1.8.7>
- article: <https://vuldb.com/?id.216956>
- other: <https://vuldb.com/?ctiid.216956>
- other: <https://github.com/harvesthq/chosen>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-25050>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-x5q4-m45m-fm94> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2018-25050> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-25050>
