VYPR
Moderate severityNVD Advisory· Published Jun 7, 2018· Updated Sep 16, 2024

CVE-2018-3735

CVE-2018-3735

Description

bracket-template suffers from reflected XSS possible when variable passed via GET parameter is used in template

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

bracket-template <=1.1.5 is vulnerable to reflected XSS when a GET parameter value is used unsanitized in a template.

Vulnerability

The NPM package bracket-template version 1.1.5 and earlier contains a reflected cross-site scripting vulnerability. When a user-supplied variable passed via a GET parameter is directly embedded into a template without proper sanitization, the package does not escape the output, allowing arbitrary HTML or JavaScript injection [1][2].

Exploitation

An attacker can craft a malicious URL containing a GET parameter with embedded JavaScript code. The victim must be tricked into visiting that URL while the application using bracket-template renders the template with the unsanitized parameter [1][2]. No authentication is required beyond the victim's session with the affected application.

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's browser session [1][2]. This can lead to session hijacking, credential theft, defacement, or other actions that the victim can perform on the origin web application.

Mitigation

Users should upgrade bracket-template to version 1.1.6 or later, which fixes the vulnerability [2]. The patch was published to npm on July 27, 2018. If upgrading is not immediately possible, applications should manually escape user input before rendering it in templates.

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
bracket-templatenpm
<= 1.1.5

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.