# CVE-2022-42985: The ScratchLogin extension through 1.1 for MediaWiki does not escape verification failure messages, which allows users with administrator p…

- Severity: Medium 4.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:N/C:L/I:L/PR:H/S:C/UI:R`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-02)
- Published: 2022-11-17T00:00:00.000Z
- Modified: 2026-06-17T05:05:43.550Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- scratch-wiki scratch_login: up to 1.1

## Every score

- mitre: CVSS:3.1 4.8 Medium `CVSS:3.1/AC:L/AV:N/A:N/C:L/I:L/PR:H/S:C/UI:R`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/InternationalScratchWiki/mediawiki-scratch-login/pull/22> (patch, third-party-advisory)
- <https://github.com/InternationalScratchWiki/mediawiki-scratch-login/blob/4d2c1229b558b9cd685961274f20b621d114f4db/ScratchLogin.common.php#L104> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-42985](https://www.cve.org/CVERecord?id=CVE-2022-42985), CVE Terms of Use, modified 2025-04-25
- NVD: [CVE-2022-42985](https://nvd.nist.gov/vuln/detail/CVE-2022-42985), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-42985 · Whole record: https://cve.day/CVE-2022-42985.json · Rebuilt by cve.day 2026-11-25T22:58:16.567Z
