CVE-2022-42985: The ScratchLogin extension through 1.1 for MediaWiki does not escape verification failure messages, which allo
CVE-2022-42985 is a medium-severity flaw (CVSS 4.8) affecting scratch login. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The ScratchLogin extension through 1.1 for MediaWiki does not escape verification failure messages, which allows users with administrator privileges to perform cross-site scripting (XSS).
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.8 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 65%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2022-11-17 |
| 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-2022-42985?
scratch login: upgrade to newer than 1.1. Exact commands for each OS are on this page.
Is CVE-2022-42985 being exploited?
CVE-2022-42985 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-2022-42985 affect?
CVE-2022-42985 affects scratch login. Severity is medium (CVSS 4.8). The ScratchLogin extension through 1.1 for MediaWiki does not escape verification failure messages, which allows users with administrator privileges to perform cross-site scripting (XSS).
How urgent is CVE-2022-42985?
Priority 26/100. No elevated risk signals yet.
Related CVEs
- CVE-2020-15164 CRITICAL 10.0 UPGRADE in Scratch Login (MediaWiki extension) before version 1.1, any account can be logged into by using the same us