Intel

AIKIDO-2026-10292

@adguard/scriptlets is vulnerable to Protection Mechanism Failure

Protection Mechanism Failure Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 5, 2026

45

Medium Risk

This Affects:

JS@adguard/scriptlets
1.9.37 - 2.2.15
Fixed in 2.2.16
Are you affected? Scan for Free

TL;DR

Affected versions of this package allow client-side bypass of the trusted-replace-xhr-response and prevent-xhr scriptlets by simply setting xhr.shouldBePrevented = false, effectively disabling enforced XHR interception and response replacement. Because the protection flag is exposed as a predictable, mutable property on the XMLHttpRequest instance, any script running in the page context can override it and neutralize the rule. An attacker controlling injected JavaScript (e.g., malicious third-party script or compromised dependency) could deliberately unset this flag to restore original responses, bypass filtering logic, and access or exfiltrate sensitive data that should have been sanitized or blocked.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@adguard/scriptlets is vulnerable to Protection Mechanism Failure in versions 1.9.37 - 2.2.15.

How to fix this

Upgrade the @adguard/scriptlets library to a patch version.