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

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-13T15:50:34.498Z
- Modified: 2026-06-17T07:33:54.010Z
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- freescout-helpdesk freescout: < 1.8.139
- freescout_helpdesk freescout: before 1.8.139
- freescout freescout: before 1.8.139

## Every score

- GitHub_M: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/freescout-helpdesk/freescout/security/advisories/GHSA-rx6j-4c33-9h3r> (exploit, vendor-advisory)
- <https://github.com/freescout-helpdesk/freescout/commit/2614514bc6d6c4ad563202a1c9cae5a97b195cc5> (patch)

## Sources

- CVE List: [CVE-2024-34698](https://www.cve.org/CVERecord?id=CVE-2024-34698), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-34698](https://nvd.nist.gov/vuln/detail/CVE-2024-34698), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-34698 · Whole record: https://cve.day/CVE-2024-34698.json · Rebuilt by cve.day 2026-11-25T22:58:40.188Z
