CVE-2021-46251: A reflected cross-site scripting (XSS) in ScratchOAuth2 before commit 1603f04e44ef67dde6ccffe866d2dca16defb293
CVE-2021-46251 is a medium-severity flaw (CVSS 6.1) affecting scratchoauth2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A reflected cross-site scripting (XSS) in ScratchOAuth2 before commit 1603f04e44ef67dde6ccffe866d2dca16defb293 allows attackers to execute arbitrary web scripts or HTML via a crafted POST request.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.6% (top 53%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2022-02-15 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-46251?
scratchoauth2: upgrade to 2021-04-12. Exact commands for each OS are on this page.
Is CVE-2021-46251 being exploited?
CVE-2021-46251 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-46251 affect?
CVE-2021-46251 affects scratchoauth2. Severity is medium (CVSS 6.1). A reflected cross-site scripting (XSS) in ScratchOAuth2 before commit 1603f04e44ef67dde6ccffe866d2dca16defb293 allows attackers to execute arbitrary web scripts or HTML via a crafted POST request.
How urgent is CVE-2021-46251?
Priority 33/100. No elevated risk signals yet.
Related CVEs
- CVE-2021-46250 CRITICAL 10.0 UPGRADE An issue in SOA2Login::commented of ScratchOAuth2 before commit a91879bd58fa83b09283c0708a1864cdf067c64a allow
- CVE-2021-46249 MEDIUM 6.5 UPGRADE An authorization bypass exploited by a user-controlled key in SpecificApps REST API in ScratchOAuth2 before co
- CVE-2021-29437 HIGH 8.0 UPGRADE ScratchOAuth2 is an Oauth implementation for Scratch