# CVE-2024-34698: Prototype Pollution in getQueryParam Function (URL Query Parser)

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

- **Severity:** MEDIUM 4.6
- **CVSS:** 4.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.55% (percentile 40, 2026-11-26)
- **CWE:** CWE-1321
- **Published:** 2024-05-13T15:50:34.498Z
- **Modified:** 2026-06-17T07:33:54.010Z

## Who should check

- Anyone running freescout-helpdesk freescout \< 1.8.139

## Description

FreeScout is a free, self-hosted help desk and shared mailbox. Versions of FreeScout prior to 1.8.139 contain a Prototype Pollution vulnerability in the \`/public/js/main.js\` source file. The Prototype Pollution arises because the \`getQueryParam\` Function recursively merges an object containing user-controllable properties into an existing object (For URL Query Parameters Parsing), without first sanitizing the keys. This can allow an attacker to inject a property with a key \`\_\_proto\_\_\`, along with arbitrarily nested properties. The merge operation assigns the nested properties to the \`params\` object's prototype instead of the target object itself. As a result, the attacker can pollute the prototype with properties containing harmful values, which are then inherited by user-defined objects and subsequently used by the application dangerously. The vulnerability lets an attacker control properties of objects that would otherwise be inaccessible. If the application subsequently handles an attacker-controlled property in an unsafe way, this can potentially be chained with other vulnerabilities like DOM-based XSS, Open Redirection, Cookie Manipulation, Link Manipulation, HTML Injection, etc. Version 1.8.139 contains a patch for the issue.

## Affected and fixed versions

- freescout-helpdesk freescout: \< 1.8.139 (cvelist)

## Mitigation

- Upgrade freescout to 1.8.139 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-34698.md
Affected: freescout-helpdesk freescout < 1.8.139
Fixed in: freescout-helpdesk freescout 1.8.139

Steps:
1. Search this machine and project for freescout-helpdesk freescout: 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-2024-34698 being exploited?

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

### How serious is CVE-2024-34698?

Medium: CVSS 4.6 (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. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-34698?

freescout-helpdesk freescout \< 1.8.139.

### Is there a fix for CVE-2024-34698?

Yes. Fixed in freescout-helpdesk freescout 1.8.139. Upgrade freescout to 1.8.139 or later.

### How do I check if I'm affected by CVE-2024-34698?

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://github.com/freescout-helpdesk/freescout/security/advisories/GHSA-rx6j-4c33-9h3r>
- patch: <https://github.com/freescout-helpdesk/freescout/commit/2614514bc6d6c4ad563202a1c9cae5a97b195cc5>

## 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-2024-34698>

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