# CVE-2023-22475: 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.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2023-01-06T14:31:02.302Z
- Modified: 2026-06-17T05:35:32.223Z
- 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 prior to sha-fb61290. An attacker who discovers an HTTP-based Canarytoken (a URL) can use this to execute Javascript in the Canarytoken's trigger 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.

This vulnerability is similar to CVE-2022-31113, but affected parameters reported differently from the Canarytoken trigger request. An attacker could only act on the discovered Canarytoken. This issue did not expose other Canarytokens or other Canarytoken creators. Canarytokens Docker images sha-fb61290 and later contain a patch for this issue.

(As written by CVE List.)

## Affected

- thinkst canarytokens: < sha-fb61290; before 2023-01-06

## 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`

## References

- <https://github.com/thinkst/canarytokens/security/advisories/GHSA-3h2c-3fgr-74vh> (patch, third-party-advisory)
- <https://github.com/thinkst/canarytokens/security/advisories/GHSA-5675-3424-hpqr> (third-party-advisory)
- <https://github.com/thinkst/canarytokens/commit/fb612906f2217bbb8863199694891d16e20bad3e> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2023-22475 · Whole record: https://cve.day/CVE-2023-22475.json · Rebuilt by cve.day 2026-11-25T22:58:21.490Z
