CefSharp.Common is vulnerable to Path Traversal
54
Medium Risk
The FolderSchemeHandlerFactory custom scheme handler maps requested URLs to files under a configured rootFolder. Before the fix, path resolution and a plain string prefix check could allow traversal sequences such as encoded ../ segments to read files outside the intended directory, including similarly prefixed sibling folders. An attacker who can steer the embedded browser to crafted scheme URLs may retrieve local files that should stay outside the served root. The fix normalizes the root directory boundary, rejects dangerous path characters, and enforces containment after full path resolution.
You are affected if you are using a version that falls within the vulnerable range.
CefSharp.Common is vulnerable to Path Traversal in versions 0.0.1 - 144.0.120.
Upgrade the CefSharp.Common and/or the CefSharp.Common.NETCore library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant