<?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>Client-Side-Injection - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/client-side-injection/</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>Tue, 07 Jul 2026 16:56:32 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/client-side-injection/feed.xml" rel="self" type="application/rss+xml"/><item><title>Open WebUI Vulnerable to Stored Cross-Site Scripting (XSS) via iFrame in Citations Model</title><link>https://feed.craftedsignal.io/briefs/2026-07-open-webui-stored-xss/</link><pubDate>Tue, 07 Jul 2026 16:56:32 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-open-webui-stored-xss/</guid><description>An authenticated attacker can achieve stored Cross-Site Scripting (XSS) in Open WebUI by manually modifying chat history requests to inject malicious HTML into citation document metadata, leading to session takeover or potential Remote Code Execution (RCE) on the server if an administrator is targeted.</description><content:encoded><![CDATA[<p>Open WebUI is vulnerable to a high-severity stored Cross-Site Scripting (XSS) vulnerability, identified as CVE-2026-26192, stemming from insecure iFrame rendering in its citation model. An authenticated attacker can exploit this by intercepting and modifying HTTP requests when saving chat history to inject malicious HTML content into document metadata, specifically by adding <code>html: true</code> and embedding an XSS payload. When another user, particularly an administrator, views a citation containing this weaponized document within a shared chat, the vulnerable Open WebUI frontend renders the content in an iFrame with insufficient sandboxing (<code>allow-scripts</code> and <code>allow-same-origin</code> are hardcoded), allowing the XSS payload to execute. This can lead to session hijacking, exfiltration of sensitive information, or, in the case of an administrator, potential server-side Remote Code Execution (RCE) by leveraging other known vulnerabilities. The vulnerability affects <code>pip/open-webui</code> versions prior to 0.7.0.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An authenticated attacker logs into Open WebUI and initiates a new chat session.</li>
<li>The attacker attaches an arbitrary file as a &quot;document source&quot; to the chat.</li>
<li>While saving the chat history or message, the attacker uses an HTTP proxy tool (e.g., Burp Suite, Caido, ZAP) to intercept the outgoing save request.</li>
<li>Within the intercepted request's JSON body, the attacker locates the object corresponding to the document source within the <code>history</code> and <code>messages</code> objects.</li>
<li>The attacker modifies this object by adding <code>html: true</code> to its metadata and injects an XSS payload (e.g., <code>&lt;script&gt;alert(document.cookie)&lt;/script&gt;</code>) into the document content field.</li>
<li>The attacker forwards the modified HTTP request, causing the Open WebUI server to store the malicious chat history with the embedded XSS payload.</li>
<li>The attacker shares the link to this weaponized chat with a victim user (e.g., via a phishing link).</li>
<li>When the victim accesses the shared chat and clicks on the malicious document citation, the Open WebUI frontend renders the content in an insecure iFrame, executing the attacker's JavaScript payload in the victim's browser context.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows an attacker to execute arbitrary client-side JavaScript code in the context of the victim's browser session. For low-privilege users, this can lead to session takeover, allowing the attacker to read session tokens from local storage and exfiltrate them to an attacker-controlled server. If an administrator is targeted and views the malicious citation, the XSS payload can be used to bypass security controls and potentially achieve server-side Remote Code Execution (RCE) by chaining with other known vulnerabilities, as described in GHSA-w7xj-8fx7-wfch. This poses a significant risk to the integrity and confidentiality of data within the Open WebUI environment.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li><strong>Patch CVE-2026-26192 immediately:</strong> Upgrade all Open WebUI installations to version 0.7.0 or newer to mitigate the vulnerability.</li>
<li><strong>Implement Web Application Firewall (WAF) rules:</strong> Configure a WAF to inspect <code>POST</code> requests to chat history save endpoints for unusual modifications like the addition of <code>html: true</code> in JSON bodies, and block requests containing common XSS payload patterns in document content, though this may require product-specific WAF configuration for JSON body inspection.</li>
<li><strong>Educate users on phishing awareness:</strong> Warn users about suspicious shared chat links or messages that encourage clicking on document citations from unknown or untrusted sources.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xss</category><category>web-application</category><category>vulnerability</category><category>client-side-injection</category><category>open-webui</category></item><item><title>GeoNetwork Reflected XSS through Client-Side Template Injection (CVE-2026-39379)</title><link>https://feed.craftedsignal.io/briefs/2026-07-geonetwork-xss/</link><pubDate>Fri, 03 Jul 2026 12:45:55 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-geonetwork-xss/</guid><description>A reflected Cross-Site Scripting (XSS) vulnerability, CVE-2026-39379, exists in GeoNetwork due to client-side template injection within error pages, allowing an attacker to craft a URL that, when visited by a victim, causes arbitrary JavaScript to execute in their browser in the context of their authenticated session.</description><content:encoded><![CDATA[<p>A critical reflected Cross-Site Scripting (XSS) vulnerability, tracked as CVE-2026-39379, has been identified in GeoNetwork, an open-source geospatial metadata catalog. This flaw stems from improper neutralization of user-controlled input in error pages, which are built using AngularJS. When a user requests a non-existent or unauthorized service URL, GeoNetwork reflects parts of the original request directly into the error page without adequate sanitization. Since this page is an AngularJS application, an attacker can embed client-side template expressions (e.g., <code>{{...}}</code>) within the malicious URL. Upon rendering in the victim's browser, these expressions are evaluated, leading to the execution of arbitrary JavaScript. This vulnerability affects GeoNetwork versions 3.0.0 through 3.12.12, 4.0.0-alpha.1 through 4.0.6, 4.2.0 through 4.2.14, and 4.4.0 through 4.4.9. GeoNetwork 3.x and 4.0.x lines are no longer maintained and will not receive patches.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Craft Malicious URL</strong>: The attacker crafts a specific URL that targets a non-existent or unauthorized GeoNetwork service endpoint, embedding client-side template injection payloads (e.g., <code>{{expression}}</code>) within the path or query parameters.</li>
<li><strong>Phishing Delivery</strong>: The attacker delivers this crafted malicious URL to a victim, typically via social engineering tactics such as phishing emails, instant messages, or compromised web pages, enticing the victim to click the link.</li>
<li><strong>Victim Request</strong>: The victim, interacting with the lure, clicks the malicious URL, causing their web browser to send an HTTP GET request containing the embedded payload to the vulnerable GeoNetwork server.</li>
<li><strong>Server Error Response</strong>: The GeoNetwork server processes the request for the invalid service. Due to its design, it generates an AngularJS-based error page that reflects portions of the original, unsanitized request URL back to the client.</li>
<li><strong>Client-Side Template Evaluation</strong>: When the victim's browser receives and renders the error page, the AngularJS framework identifies the reflected attacker-controlled content as a template expression. It then evaluates this expression.</li>
<li><strong>Arbitrary JavaScript Execution</strong>: The evaluation of the template expression results in the execution of the attacker's arbitrary JavaScript code within the context of the victim's browser.</li>
<li><strong>Impact on Authenticated Session</strong>: The malicious JavaScript executes with the same permissions and within the same authenticated session as the victim user, potentially allowing for session hijacking, data exfiltration from GeoNetwork, or performing unauthorized actions on the victim's behalf.</li>
<li><strong>Further Exploitation</strong>: The attacker leverages the executed JavaScript to achieve their objective, which could include redirecting the user to a fake login page for credential harvesting or initiating further attacks against the GeoNetwork instance.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-39379 allows an attacker to execute arbitrary JavaScript code within the victim's browser. This code runs in the context of the victim's authenticated session, enabling severe consequences such as session hijacking, unauthorized data exfiltration from the GeoNetwork instance, or performing actions on the victim's behalf, including modifying content or changing configurations if the victim is an administrator. Additionally, attackers could inject fake login forms or malicious content to harvest credentials or spread malware. GeoNetwork versions 3.x and 4.0.x are particularly at risk as they are archived and will not receive official fixes, necessitating immediate upgrades for affected organizations.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-39379 immediately by upgrading GeoNetwork to a fixed version (4.2.15 or later, or 4.4.10 or later).</li>
<li>Deploy the Sigma rule &quot;Detects CVE-2026-39379 Exploitation - GeoNetwork Reflected XSS Attempt&quot; to your SIEM to identify attempts at client-side template injection via web server logs.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xss</category><category>web-vulnerability</category><category>client-side-injection</category><category>angularjs</category><category>ghsa</category><category>webserver</category></item></channel></rss>