CVE-2023-33962
"JStachio Mustache Template Engine HTML Injection"
Description
JStachio is a type-safe Java Mustache templating engine. Prior to version 1.0.1, JStachio fails to escape single quotes `'` in HTML, allowing an attacker to inject malicious code. This vulnerability can be exploited by an attacker to execute arbitrary JavaScript code in the context of other users visiting pages that use this template engine. This can lead to various consequences, including session hijacking, defacement of web pages, theft of sensitive information, or even the propagation of malware. Version 1.0.1 contains a patch for this issue. To mitigate this vulnerability, the template engine should properly escape special characters, including single quotes. Common practice is to escape `'` as `'`. As a workaround, users can avoid this issue by using only double quotes `"` for HTML attributes.
INFO
Published Date :
May 30, 2023, 10:15 p.m.
Last Modified :
June 6, 2023, 8:53 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-33962
.
URL | Resource |
---|---|
https://github.com/jstachio/jstachio/commit/7b2f78377d1284df14c580be762a25af5f8dcd66 | Patch |
https://github.com/jstachio/jstachio/issues/157 | Issue Tracking Patch |
https://github.com/jstachio/jstachio/pull/158 | Patch |
https://github.com/jstachio/jstachio/releases/tag/v1.0.1 | Release Notes |
https://github.com/jstachio/jstachio/security/advisories/GHSA-gwxv-jv83-6qjr | Exploit Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-33962
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-33962
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jun. 06, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/jstachio/jstachio/commit/7b2f78377d1284df14c580be762a25af5f8dcd66 No Types Assigned https://github.com/jstachio/jstachio/commit/7b2f78377d1284df14c580be762a25af5f8dcd66 Patch Changed Reference Type https://github.com/jstachio/jstachio/issues/157 No Types Assigned https://github.com/jstachio/jstachio/issues/157 Issue Tracking, Patch Changed Reference Type https://github.com/jstachio/jstachio/pull/158 No Types Assigned https://github.com/jstachio/jstachio/pull/158 Patch Changed Reference Type https://github.com/jstachio/jstachio/releases/tag/v1.0.1 No Types Assigned https://github.com/jstachio/jstachio/releases/tag/v1.0.1 Release Notes Changed Reference Type https://github.com/jstachio/jstachio/security/advisories/GHSA-gwxv-jv83-6qjr No Types Assigned https://github.com/jstachio/jstachio/security/advisories/GHSA-gwxv-jv83-6qjr Exploit, Vendor Advisory Added CWE NIST CWE-79 Added CPE Configuration OR *cpe:2.3:a:jstachio_project:jstachio:*:*:*:*:*:*:*:* versions up to (excluding) 1.0.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-33962
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-33962
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.11 }} 0.02%
score
0.45685
percentile