# CVE-2022-31094: Cross site scripting vulnerability in ScratchTools

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- 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.93%, higher than 61% of CVEs (2026-12-01)
- Published: 2022-06-27T21:05:13.000Z
- Modified: 2026-06-17T04:44:47.060Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

ScratchTools is a web extension designed to make interacting with the Scratch programming language community (Scratching) easier. In affected versions anybody who uses the Recently Viewed Projects feature is vulnerable to having their account taken over if they view a project that tries to. The issue is that if a user visits a project that includes Javascript in the title, then when the Recently Viewed Projects feature displays it, it could run the Javascript. This issue has been addressed in the 2.5.2 release. Users having issues scratching should open an issue in the project issue tracker https://github.com/STForScratch/ScratchTools/

(As written by CVE List.)

## Affected

- STForScratch ScratchTools: >= 2.4.0, < 2.5.2
- scratchstatus scratchtools: from 2.4.0 before 2.5.2

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/STForScratch/ScratchTools/security/advisories/GHSA-6r45-jjw6-q39x> (third-party-advisory)
- <https://github.com/STForScratch/ScratchTools/commit/a29a0c6105bc14a89d25c806f6a3ad1257bbb683> (patch, third-party-advisory)
- <https://github.com/STForScratch/ScratchTools/releases/tag/v2.5.2> (release-notes, third-party-advisory)

## Sources

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

---

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