<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Self-Xss - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/self-xss/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 18 Jun 2026 15:26:57 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/self-xss/feed.xml" rel="self" type="application/rss+xml"/><item><title>Kirby: Self cross-site scripting (self-XSS) in the writer field (CVE-2026-49276)</title><link>https://feed.craftedsignal.io/briefs/2026-06-kirby-self-xss-writer-field/</link><pubDate>Thu, 18 Jun 2026 15:26:57 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-06-kirby-self-xss-writer-field/</guid><description>Kirby CMS versions prior to 4.9.4 and between 5.0.0-alpha.1 and 5.4.3 are vulnerable to a self-cross-site scripting (self-XSS) flaw, CVE-2026-49276, in the writer field, allowing an attacker to inject malicious JavaScript as the target of a link or email link which, if clicked by an authenticated user before saving, will execute in their browser context, potentially making API requests with their permissions, while Panel plugins using the `&lt;k-writer&gt;` component may be vulnerable to stored XSS if they don't sanitize HTML.</description><content:encoded><![CDATA[<p>The Kirby CMS is affected by a high-severity self-cross-site scripting (self-XSS) vulnerability, tracked as CVE-2026-49276, in its writer field. This flaw impacts Kirby sites using the writer field in any blueprint, specifically versions prior to 4.9.4 and versions 5.0.0-alpha.1 through 5.4.3. Attackers can inject malicious <code>javascript:</code> URLs into link or email targets within the writer field. While the backend sanitizes these before storage, an authenticated Panel user who enters such a malicious link and then clicks it <em>before saving the content</em> will execute the script in their browser. This can lead to the attacker making API requests with the victim's permissions. Successful exploitation typically requires social engineering and knowledge of the content structure, and cannot be automated. Panel plugins directly using the <code>&lt;k-writer&gt;</code> component may also be susceptible to stored XSS if they lack proper HTML sanitization.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker, with knowledge of the Kirby content structure, gains access to an authenticated Kirby Panel session (e.g., via stolen credentials or an insider threat).</li>
<li>The attacker navigates to a content page utilizing the <code>writer</code> field within the Kirby Panel.</li>
<li>The attacker crafts a malicious <code>javascript:</code> URL payload (e.g., <code>javascript:alert(document.domain)</code>) and inputs it into a &quot;custom&quot; link or email target within the <code>writer</code> field.</li>
<li>The attacker then socially engineers or persuades another authenticated user (e.g., an administrator) to open the same content page in the Panel.</li>
<li>The victim user clicks the maliciously crafted <code>javascript:</code> link that the attacker previously inserted into the <code>writer</code> field, but <em>before</em> saving the content changes.</li>
<li>Upon clicking, the malicious JavaScript code embedded in the link executes within the victim's browser context, operating with the victim's Panel permissions.</li>
<li>The script can then perform actions such as triggering API requests to Kirby's backend, exfiltrating sensitive session data, or escalating privileges by changing user settings.</li>
<li>This leads to unauthorized actions being performed under the victim's identity within the Kirby CMS.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>This self-XSS vulnerability can lead to significant compromise of the Kirby CMS Panel. If an administrator account is targeted, successful exploitation allows the attacker to execute arbitrary JavaScript within the administrator's browser session. This can facilitate privilege escalation, unauthorized modification of content, data exfiltration from the Panel, or further actions through Kirby's API using the victim's permissions. While primarily self-XSS, Panel plugins using the vulnerable <code>&lt;k-writer&gt;</code> component could enable stored XSS, affecting other users or site visitors if not properly sanitized. The attack's effectiveness relies on social engineering, meaning the number of direct victims is hard to quantify but the potential for high impact on targeted individuals or organizations is severe.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-49276 immediately by updating Kirby CMS to version 4.9.4, 5.4.4, or a later release.</li>
<li>Deploy the Sigma rule &quot;Detects CVE-2026-49276 Exploitation — Kirby Panel JS URL Submission&quot; to your SIEM to identify attempts at submitting <code>javascript:</code> scheme URLs to your Kirby Panel.</li>
<li>Enable comprehensive web server logging, ensuring that full request bodies and URL parameters for POST requests to Kirby Panel endpoints (e.g., <code>/panel/api/pages/*/fields/writer</code>) are captured for forensic analysis and detection.</li>
<li>Educate users with Kirby Panel access, especially those with elevated privileges, about the risks of clicking untrusted links within the Panel interface, even if they appear to be self-generated.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xss</category><category>self-xss</category><category>web-vulnerability</category><category>kirby</category><category>cms</category></item></channel></rss>