<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-30T00:40:05.597404+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-rcqf-f6h2-ccg9</id>
    <title>GHSA-rcqf-f6h2-ccg9 — Highcharts Dashboards parses sidebar component labels as HTML</title>
    <updated>2026-10-30T00:40:05.598602+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: @highcharts/dashboards</p>
<p>### Impact
The component language strings shown in the edit mode sidebar are parsed as HTML rather than inserted as text. An attacker who controls those language options can supply markup carrying event handlers, which execute in the origin of the page hosting the dashboard once the sidebar renders the affected labels. Exploitation requires that untrusted data reach the Dashboards language configuration and that a user open the edit mode sidebar.</p>
<p>### Workarounds</p>
<p>Until you can upgrade, patch `EditMode` once at application startup. The hook runs before the sidebar is built, so the labels are already harmless by the time they are rendered. Assigning a string to `textContent` and reading back `innerHTML` turns any markup into literal text, which is exactly what the fixed version renders.</p>
<p>After importing the module, use this code snipped once, before any board is created.</p>
<p>```js
{
    const EditMode = window.Dashboards?.EditMode;
    const escapeHTML = (text) =&gt; text
        .replace(/&amp;/g, '&amp;amp;')
        .replace(/&lt;/g, '&amp;lt;')
        .replace(/&gt;/g, '&amp;gt;');
    const patched = new WeakSet();
    const originalInit = EditMode.prototype.init;</p>
<p>EditMode.prototype.init = function (...args) {
        const labels = this.lang?.sidebar;</p>
<p>if (labels &amp;&amp; !patched.has(this)) {
            patched.add(this);</p>
<p>for (const key of Object.keys(labels)) {
                if (typeof labels[key] === 'string') {
                    labels[key] = escapeHTML(labels[key]);…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-rcqf-f6h2-ccg9"/>
  </entry>
</feed>
