SecurityContext

CVE-2024-41663: Canarytokens - Stored XSS

  • Cve: CVE-2024-41663
  • Name: Canarytokens - Stored XSS
  • Description: Canarytokens help track activity and actions on a network. A Cross-Site Scripting vulnerability was identified in the "Cloned Website" Canarytoken, whereby the Canarytoken's creator can attack themselves. The creator of a slow-redirect Canarytoken can insert Javascript into the destination URL of their slow redirect token. When the creator later browses the management page for their own Canarytoken, the Javascript executes. This is a self-XSS. An attacker could create a Canarytoken with this self-XSS, and send the management link to a victim. When they click on it, the Javascript would execute. However, no sensitive information (ex. session information) will be disclosed to the malicious actor. This issue is now patched on Canarytokens.org. Users of self-hosted Canarytokens installations can update by pulling the latest Docker image, or any Docker image after `sha-097d91a`.
  • Impact: Attackers can execute arbitrary scripts in the context of the management page, potentially leading to session hijacking or other client-side attacks.
  • Remediation: Update to the latest Canarytokens.org version or pull Docker images after sha-097d91a.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker must create a malicious Canarytoken and victim must click the management link.
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
  • Epss score: 0.00347
  • Epss percentile: 0.28906
  • Assignee: [email protected]
  • Published at: 2024-07-23T16:15:06Z
  • Age in days: 854
  • Modified at: 2026-06-17T07:48:00Z
  • References total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-41663
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

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

References

UrlSourceTags
https://github.com/thinkst/canarytokens/security/advisories/GHSA-xj9h-3j9c-c95hnvd

Projects

RepositoryLink kindsIndexedUrl
thinkst/canarytokenssecurity_advisoryyes/v1/repositories/thinkst/canarytokens

Index

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

Exploitation

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