CVE-2026-28355 in canarytokensinfo

Summary

by MITRE • 02/27/2026

Canarytokens help track activity and actions on a network. Versions prior to `sha-7ff0e12` have a Self Cross-Site Scripting vulnerability in the "PWA" Canarytoken, whereby the Canarytoken's creator can attack themselves or someone they share the link with. The creator of a PWA Canarytoken can insert Javascript into the title field of their PWA token. When the creator later browses the installation 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 install 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-7ff0e12.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 03/01/2026

The vulnerability described in CVE-2026-28355 represents a critical self-cross-site scripting flaw within the PWA Canarytoken functionality of the Canarytokens platform. This security weakness specifically affects versions prior to the commit hash sha-7ff0e12 and enables attackers to inject malicious javascript code into the title field of PWA tokens. The vulnerability operates through a sophisticated attack vector where the creator of a Canarytoken can manipulate the installation page to execute arbitrary javascript code against themselves or shared recipients. This self-XSS vulnerability stems from inadequate input validation and sanitization of user-provided data within the token creation interface, particularly in the title field of PWA tokens.

The operational impact of this vulnerability extends beyond simple self-injection scenarios to encompass potential social engineering attacks that could compromise user trust and system integrity. When an attacker creates a malicious PWA Canarytoken with embedded javascript and shares the installation link with a victim, the code executes upon the victim's interaction with the token. The vulnerability's classification under CWE-79 (Cross-Site Scripting) and its alignment with ATT&CK technique T1566.001 (Phishing) demonstrates its potential for exploitation in broader attack chains. The attack surface is particularly concerning because it allows for code execution within the context of the user's browser session, potentially enabling further malicious activities such as credential harvesting or session manipulation. However, the vulnerability's limitation in not exposing sensitive information like session tokens or authentication credentials provides some mitigating factors compared to more severe XSS variants.

The remediation process for this vulnerability involves updating to the patched version identified by the sha-7ff0e12 commit hash, which implements proper input sanitization and output encoding mechanisms. For cloud-based Canarytokens.org users, the update occurs automatically through the platform's maintenance cycles, while self-hosted installations require explicit Docker image updates to ensure protection. This vulnerability highlights the importance of implementing robust content security policies and input validation measures, particularly for web applications handling user-generated content in sensitive security contexts. The fix addresses the root cause by ensuring that all user-provided data, especially in fields that may be rendered in browser contexts, undergoes proper sanitization before processing. The vulnerability's resolution demonstrates the necessity of comprehensive security testing including dynamic analysis of user interaction flows and proper validation of all input sources to prevent XSS attacks in web applications. Organizations using self-hosted instances must maintain vigilant update procedures to ensure their security infrastructure remains protected against similar vulnerabilities in the future.

Responsible

GitHub M

Reservation

02/26/2026

Disclosure

02/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00397

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!