# CVE-2022-31113: Cross-Site Scripting in Canarytoken history

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2022-07-01T16:30:19.000Z
- Modified: 2026-06-17T04:44:49.790Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Canarytokens is an open source tool which helps track activity and actions on your network. A Cross-Site Scripting vulnerability was identified in the history page of triggered Canarytokens. This permits an attacker who recognised an HTTP-based Canarytoken (a URL) to execute Javascript in the Canarytoken's history page (domain: canarytokens.org) when the history page is later visited by the Canarytoken's creator. This vulnerability could be used to disable or delete the affected Canarytoken, or view its activation history. It might also be used as a stepping stone towards revealing more information about the Canarytoken's creator to the attacker. For example, an attacker could recover the email address tied to the Canarytoken, or place Javascript on the history page that redirect the creator towards an attacker-controlled Canarytoken to show the creator's network location. An attacker could only act on the discovered Canarytoken. This issue did not expose other Canarytokens or other Canarytoken creators. The issue has been patched on Canarytokens.org and in the latest release. No signs of successful exploitation of this vulnerability have been found. Users are advised to upgrade. There are no known workarounds for this issue.

(As written by CVE List.)

## Affected

- thinkst canarytokens: Commits prior to dc378957bc28a6f3b5a8d7217b0605d81111f090; before 2022-07-01

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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/thinkst/canarytokens/security/advisories/GHSA-5675-3424-hpqr> (third-party-advisory)
- <https://github.com/thinkst/canarytokens/commit/dc378957bc28a6f3b5a8d7217b0605d81111f090> (patch, third-party-advisory)

## Sources

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

---

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