# CVE-2020-15164: Authentication Bypass in Scratch Login (mediawiki-scratch-login)

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- 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): 1.17%, higher than 68% of CVEs (2026-12-01)
- Published: 2020-08-28T17:05:13.000Z
- Modified: 2026-06-17T02:56:10.680Z
- Weaknesses: CWE-74, CWE-287
- Assigned by: GitHub_M

## Description

in Scratch Login (MediaWiki extension) before version 1.1, any account can be logged into by using the same username with leading, trailing, or repeated underscore(s), since those are treated as whitespace and trimmed by MediaWiki. This affects all users on any wiki using this extension. Since version 1.1, comments by users whose usernames would be trimmed on MediaWiki are ignored when searching for the verification code.

(As written by CVE List.)

## Affected

- InternationalScratchWiki mediawiki-scratch-login: < 1.1
- scratch-wiki scratch_login: before 1.1

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/InternationalScratchWiki/mediawiki-scratch-login/security/advisories/GHSA-8fq5-g4m5-6j43> (third-party-advisory)
- <https://github.com/InternationalScratchWiki/mediawiki-scratch-login/commit/70849ef375016a1061490c8c4744046dbfc3e679> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2020-15164 · Whole record: https://cve.day/CVE-2020-15164.json · Rebuilt by cve.day 2026-11-25T22:57:54.416Z
