AdguardTeam / AdguardTeam/AdGuardMiniForMac

AdGuard Crashes javascript thread when trying to inject itself into cloudflare turnstile

Đang mở
#1,205 5 bình luận 1 reaction 0 người được giao Xem trên GitHub
Bug Priority: P4
Ngôn ngữ chính
Swift
Star
1.2k
Fork
83
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

### Please answer the following questions for yourself before submitting an issue

- [x] Filters were updated before reproducing an issue
- [x] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [x] I checked to make sure that this issue has not already been filed

### AdGuard Extension version

Adguard Mini 2.2.1

### Browser version

Safari 26.5.2 (20624.2.5.18.7)

### OS version

macOS 15.7.7 (24G720)

### Ad Blocking

AdGuard Base filter

### Privacy

AdGuard Tracking Protection filter

### Issue Details

## Steps to reproduce

1. Install / enable AdGuard for Safari.
2. Open Safari and navigate to any site with cloudflare turnstile
3. Open the browser console.
4. Observe the CSP / syntax errors and note that the Turnstile widget does not complete.

### Expected Behavior

Cloudflare Turnstile should render and complete normally, allowing the user to submit the waitlist form.

### Actual Behavior

Turnstile fails to complete. The console repeatedly logs the following errors:

```text
[Error] Refused to create a TrustedTypePolicy named 'AGPolicy' because it violates the following Content Security Policy directive: "trusted-types FcJq9 default" (x4)
[Error] Refused to execute a script because its hash or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (about:blank, line 1, x2)
[Error] Refused to create a TrustedTypePolicy named 'AGPolicy' because it violates the following Content Security Policy directive: "trusted-types FcJq9 default" (x4)
[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (about:blank, line 0, x2)
[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (normal, line 0, x2)
[Error] SyntaxError: Can't create duplicate variable: 'SafariAppExtensionPage'
write (normal:1:191618)
I9 (normal:1:191618)
(anonymous function) (normal:1:69116)
...
[Error] Refused to create a TrustedTypePolicy named 'AGPolicy' because it violates the following Content Security Policy directive: "trusted-types FcJq9 default" (x4)
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.