A path handling issue was addressed with improved validation. This issue is fixed in Security Update 2021-008 Catalina macOS Big Sur 11.6.2. Processing a maliciously crafted URL may cause unexpected JavaScript execution from a file on disk.