Description
Stencil core 4.43.5 contains a DOM-based cross-site scripting (XSS) vulnerability in the component runtime. When a downstream application enables the experimental slot fixes option and uses scoped components, assigning a string to the textContent property of such a component's host element causes the value to be parsed as HTML instead of being inserted as text. If an application writes attacker-controlled data to these host elements, the data can be interpreted as markup and script can execute in the context of the application's origin.
Published: 2026-09-21
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting (DOM‑based)
Action: Patch
AI Analysis

Impact

Stencil core 4.43.5 contains a DOM‑based cross‑site scripting flaw in the component runtime. When the experimental slot fixes option is enabled and scoped components are used, assigning a string to the textContent property of a component’s host element causes the value to be parsed as HTML. If an attacker can control that string, malicious markup or script will execute in the context of the application’s origin. The vulnerability allows attackers to run arbitrary client‑side code by injecting scripts that execute in the application's origin context.

Affected Systems

Any application that incorporates Stencil core 4.43.5, enables the experimental slot fixes option, and uses scoped components is affected. The issue is limited to the runtime behavior of Stencil; other parts of the framework are not directly impacted.

Risk and Exploitability

The CVSS score is 6.1 and the EPSS score is < 1%. The vulnerability is not listed in the CISA KEV catalog. Attackers can inject script tags or other executable markup via the component host element, which will run with the privileges of the application. No special conditions are stated, so any downstream application that follows the described configuration pattern can be exploited.

Generated by OpenCVE AI on September 25, 2026 at 02:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Stencil core to a version that fixes the XSS issue (consult the project’s release notes for the relevant patch).
  • Disable or remove the experimental slot fixes configuration until the patch is applied to prevent the malformed parsing of textContent.
  • Sanitize or escape all data that is assigned to component host element textContent, or avoid using textContent for untrusted content.

Generated by OpenCVE AI on September 25, 2026 at 02:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Stenciljs
Stenciljs core
Vendors & Products Stenciljs
Stenciljs core

Fri, 25 Sep 2026 03:00:00 +0000

Type Values Removed Values Added
Title DOM‑Based XSS via textContent Assignment in Stencil Core Component Runtime

Thu, 24 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 21 Sep 2026 21:15:00 +0000

Type Values Removed Values Added
Title DOM‑Based XSS via textContent Assignment in Stencil Core Component Runtime
Weaknesses CWE-79

Mon, 21 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
Description Stencil core 4.43.5 contains a DOM-based cross-site scripting (XSS) vulnerability in the component runtime. When a downstream application enables the experimental slot fixes option and uses scoped components, assigning a string to the textContent property of such a component's host element causes the value to be parsed as HTML instead of being inserted as text. If an application writes attacker-controlled data to these host elements, the data can be interpreted as markup and script can execute in the context of the application's origin.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-24T12:49:11.875Z

Reserved: 2026-08-25T00:00:00.000Z

Link: CVE-2026-79320

cve-icon Vulnrichment

Updated: 2026-09-24T12:48:44.386Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-21T20:17:32.823

Modified: 2026-09-24T13:17:11.380

Link: CVE-2026-79320

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-29T13:21:38Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')