Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
t3code-preview-webview-isolation — T3 Code 61c3794c local isolation leftover. Preview will-attach-webview sets contextIsolation false and keeps page-supplied preload. Loopback lab. | Kitploit
Tools/GitHubGitHub/abraxas/t3code-preview-webview-isolation
Vulnerability AnalysisCode AnalysisExploitationWeb Security
GitHubabraxas/t3code-preview-webview-isolation

t3code-preview-webview-isolation

T3 Code 61c3794c local isolation leftover. Preview will-attach-webview sets contextIsolation false and keeps page-supplied preload. Loopback lab.

View Repository
1 day agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Abraxas Labs - t3code-preview-webview-isolation

t3code-preview-webview-isolation

The preview pane turns off the wall between the page and the preload. will-attach-webview forces contextIsolation = false and leaves a page-supplied preload and webpreferences string in place. Invalid partitions are still blocked. Node integration stays off. Sandbox stays on. This is a second punch after a renderer is already compromised.

Class: Isolation leftover Reach: Local (after renderer compromise)

T3 Code 61c3794c - Ping

IDno CVE yet
ClassIsolation leftover
ReachLocal (compromised main renderer or compromised preview page)
CWECWE-693
CVSSLow: 3.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
ProductT3 Code
Affected61c3794c32b0eeebfac09add43e403618c65d2d7
Authalready inside the desktop renderer
LicenseGNU Affero GPL v3.0
LabElectron mock layer; preload path is a string oracle, never executed

What an attacker can do

Needs a compromised main renderer (or a preview page that can influence the <webview> tag). Does not get Node in the page from this handler alone.

PrivilegeMethod / sinkRecon / integrity / availabilityLab-proven or inferred
Force contextIsolation=false on a preview webviewDesktopWindow will-attach-webviewIntegrity (isolation off)Lab-proven. handler-invoked=1, contextIsolation=False
Keep a planted preload pathsame handler, incoming webPreferences.preloadIntegrityLab-proven. preload-kept=1, witness t3f03v2c8 in the path
Keep planted webpreferencessame handlerIntegrityLab-proven. webpreferences-kept=1 (nodeIntegration=yes still present; nodeIntegration boolean still forced false)
Negative control: invalid partitionpartition outside persist:t3code-preview-n/aLab-proven. preventDefault

Stays closed on this leftover

AxisMethod / sinkWhy it is closed
IntegritynodeIntegration on this webviewhandler sets false
Integrityunsandboxed webviewhandler sets sandbox=true
Integrityattaching a non-preview partitionevent.preventDefault()
Integrityunauthenticated remote RCEneeds renderer compromise first

PREVIEW_WEBVIEW_PREFERENCES is contextIsolation=false,sandbox=true,nodeIntegration=false. Electron's documented will-attach-webview requirement is to delete preload and webpreferences from page-supplied attributes.

How I found it

The handler is inline on window.webContents.on("will-attach-webview"). I fired that listener on the existing DesktopWindow mock layer with a valid preview partition and a planted preload path.

Wrong turns: treating isolation-off as Node in the page today (sandbox and nodeIntegration still hold).

Lab

python3 t3code-preview-webview-isolation-Abraxas-Labs.py

or:

cd lab
./run.sh
IOC handler-invoked=1
IOC contextIsolation=False
IOC sandbox=True
IOC nodeIntegration=False
IOC preload-kept=1
IOC webpreferences-kept=1
IOC preventDefault-invalid-partition=1
SUCCESS T3-F03-WEBVIEW t3f03v2c8

The fix

Set contextIsolation = true (or drop the line; true is the default). delete webPreferences.preload; delete webPreferences.webpreferences; before returning.

References

  • github.com/pingdotgg/t3code 61c3794c32b0eeebfac09add43e403618c65d2d7
  • DesktopWindow.ts will-attach-webview
  • CWE-693

License

GNU Affero GPL v3.0. See LICENSE. Loopback lab only. No warranty.

Abraxas Labs [email protected]

Please credit CVE to Abraxas Labs.

Download Tool