CVE-2020-26239
📋 TL;DR
This CVE describes a DOM-based cross-site scripting (XSS) vulnerability in the Scratch Addons browser extension. Attackers could exploit this by tricking victims into visiting malicious websites, allowing script execution in the context of the extension. Users of Scratch Addons versions before 1.3.2 are affected.
💻 Affected Systems
- Scratch Addons browser extension
📦 What is this software?
Scratch Addons by Scratchaddons
⚠️ Risk & Real-World Impact
Worst Case
Complete account takeover, data theft, or malware installation through the extension's privileged context
Likely Case
Session hijacking, credential theft, or unauthorized actions within the Scratch platform
If Mitigated
Limited impact if extension is disabled or updated, with browser sandboxing providing some protection
🎯 Exploit Status
Exploitation requires social engineering to lure victims to malicious websites
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.3.2
Vendor Advisory: https://github.com/ScratchAddons/ScratchAddons/security/advisories/GHSA-6qfq-px3r-xj4p
Restart Required: No
Instructions:
1. Ensure browser auto-updates are enabled
2. Extension should update automatically to version 1.3.2+
3. Verify version in browser extension manager
🔧 Temporary Workarounds
Disable More Links addon
allTemporarily disable the vulnerable component while waiting for update
1. Click Scratch Addons extension icon
2. Go to Settings
3. Find 'More Links' addon
4. Toggle to OFF position
Disable Scratch Addons extension
allCompletely disable the extension until patched
1. Navigate to browser extensions page
2. Find Scratch Addons
3. Toggle extension to OFF position
🧯 If You Can't Patch
- Disable the 'More Links' addon within Scratch Addons settings
- Use browser security extensions that block XSS attempts
🔍 How to Verify
Check if Vulnerable:
Check Scratch Addons version in browser extensions manager - if version is below 1.3.2 and 'More Links' addon is enabled, you are vulnerable
Check Version:
Browser-specific: Chrome: chrome://extensions/, Firefox: about:addons
Verify Fix Applied:
Verify extension version is 1.3.2 or higher in browser extensions manager
📡 Detection & Monitoring
Log Indicators:
- Unusual extension activity, unexpected network requests from browser extension
Network Indicators:
- Requests to unexpected domains from browser extension context
SIEM Query:
Not applicable - client-side browser extension vulnerability
🔗 References
- https://github.com/ScratchAddons/ScratchAddons/blob/a471893df403f86c9182970678175d4772a0690c/addons/more-links/userscript.js#L15
- https://github.com/ScratchAddons/ScratchAddons/commit/b9a52d6532c8514254c7cc1d8e18710dbedc41ff
- https://github.com/ScratchAddons/ScratchAddons/releases/tag/v1.3.2
- https://github.com/ScratchAddons/ScratchAddons/security/advisories/GHSA-6qfq-px3r-xj4p
- https://github.com/ScratchAddons/ScratchAddons/blob/a471893df403f86c9182970678175d4772a0690c/addons/more-links/userscript.js#L15
- https://github.com/ScratchAddons/ScratchAddons/commit/b9a52d6532c8514254c7cc1d8e18710dbedc41ff
- https://github.com/ScratchAddons/ScratchAddons/releases/tag/v1.3.2
- https://github.com/ScratchAddons/ScratchAddons/security/advisories/GHSA-6qfq-px3r-xj4p