CVE-2023-37360
NixOS vulnerability analysis and mitigation

Overview

pacparserfindproxy in Pacparser before 1.4.2 contains a JavaScript injection vulnerability that allows attackers to execute arbitrary JavaScript code when they control the URL parameter. This vulnerability was discovered on June 30, 2023, and could potentially lead to privilege escalation, particularly concerning when the software is integrated into enterprise security products running with elevated privileges (GitHub Advisory, NVD).

Technical details

The vulnerability exists in the pacparserfindproxy() function which processes URLs and hosts for PAC (Proxy Auto-Configuration) script evaluation. The function attempts to sanitize single quotes by URL-encoding them but fails to account for backslashes that can escape the single quotes in the resulting script. This oversight creates injection points in the script execution context, allowing arbitrary JavaScript code execution within pacparser's SpiderMonkey environment (GitHub Advisory). The vulnerability has been assigned a CVSS v3.1 Base Score of 6.1 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) (NVD).

Impact

The vulnerability can lead to arbitrary JavaScript code execution within the context of pacparser's 16-year-old version of SpiderMonkey. When pacparser is integrated into security solutions running with root privileges, this vulnerability could be leveraged for local privilege escalation by chaining it with vulnerabilities in SpiderMonkey (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Pacparser version 1.4.2. Users are advised to upgrade to this version or later to mitigate the risk (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management