VYPR
Unrated severityNVD Advisory· Published Sep 28, 2023· Updated Aug 2, 2024

CVE-2023-42222

CVE-2023-42222

Description

WebCatalog before 49.0 is vulnerable to Incorrect Access Control. WebCatalog calls the Electron shell.openExternal function without verifying that the URL is for an http or https resource, in some circumstances.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Missing protocol validation before calling Electron's shell.openExternal allows untrusted URLs with non-http/https schemes to be opened."

Attack vector

An attacker can craft a URL with a dangerous protocol (e.g., `file://`, `mailto://`, or a custom protocol handler) and deliver it to a WebCatalog user. When WebCatalog passes this untrusted URL to `shell.openExternal` without protocol validation, the operating system processes the URL using its registered handler, which can lead to arbitrary command execution or unintended local resource access [ref_id=1]. The precondition is that the attacker must be able to supply a URL that WebCatalog will open via `shell.openExternal`.

Affected code

The vulnerability is in WebCatalog's use of Electron's `shell.openExternal` function. The advisory does not specify the exact file or function name within WebCatalog, but the bug is that WebCatalog calls `shell.openExternal` without first verifying that the target URL uses an `http` or `https` protocol [ref_id=1].

What the fix does

The advisory does not include a patch diff. However, the Electron security documentation explicitly recommends validating URLs before passing them to `shell.openExternal` — specifically, only allowing `http:` and `https:` protocols [ref_id=1]. The fix for WebCatalog would be to add a protocol whitelist check before calling `shell.openExternal`, rejecting any URL whose protocol is not `http` or `https`.

Preconditions

  • inputAttacker must be able to supply a URL that WebCatalog will open via shell.openExternal

Generated on May 24, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

3

News mentions

0

No linked articles in our index yet.