SecurityContext

CVE-2023-22475: Canarytokens - Stored XSS

  • Cve: CVE-2023-22475
  • Name: Canarytokens - Stored XSS
  • 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.
  • Impact: Attackers can execute Javascript in the Canarytoken's history page, potentially disabling, deleting the token, or revealing creator information, and redirecting to attacker-controlled sites.
  • Remediation: Update to Canarytokens Docker images sha-fb61290 or later which contain a patch for this issue.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00564
  • Epss percentile: 0.4779
  • Assignee: [email protected]
  • Published at: 2023-01-06T15:15:09Z
  • Age in days: 1418
  • Modified at: 2026-06-17T05:35:32Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-22475
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/thinkst/canarytokens/commit/fb612906f2217bbb8863199694891d16e20bad3ePatch, Third Party Advisory
https://github.com/thinkst/canarytokens/security/advisories/GHSA-3h2c-3fgr-74vhPatch, Third Party Advisory
https://github.com/thinkst/canarytokens/security/advisories/GHSA-5675-3424-hpqrThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
thinkst:canarytokens< 2023-01-06nonvd/v1/products/thinkst/canarytokens

Projects

RepositoryLink kindsIndexedUrl
thinkst/canarytokenscommit, fix, security_advisoryyes/v1/repositories/thinkst/canarytokens

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts