Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After logging into Cursor, the application crashes due to a Trusted Types policy duplication error.
Cursor throws a fatal exception similar to:
TypeError: Failed to execute ‘createPolicy’ on ‘TrustedTypePolicyFactory’:
Policy with name “tokenizeToString” already exists
In some cases, additional Trusted Types violations appear, such as:
Trusted Type expected, but String received
This happens on a fresh Cursor installation with no extensions installed.
Reinstalling Cursor or even reinstalling the operating system does not resolve the issue.
The problem does not occur when running Cursor inside a virtual machine, but consistently occurs on my physical machine.
Steps to Reproduce
1.Install Cursor (fresh install, no extensions)
2.Launch Cursor
3.Log in to a Cursor account
4.Wait for background services / AI features to initialize
5.Cursor crashes with a Trusted Types policy error
Expected Behavior
Cursor should start and run normally after login without crashing.
Trusted Types policies should not be created multiple times with the same name.
If a policy already exists, it should be reused instead of calling createPolicy again.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.44 (user setup)
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
For AI issues: which model did you use?
No AI model is being used
For AI issues: add Request ID with privacy disabled
No AI model is being used.
Request ID: N/A (privacy disabled)
Does this stop you from using Cursor
Yes - Cursor is unusable
