Vulnerability Description
jQuery Terminal Emulator is a plugin for creating command line interpreters in your applications. Versions prior to 2.31.1 contain a low impact and limited cross-site scripting (XSS) vulnerability. The code for XSS payload is always visible, but an attacker can use other techniques to hide the code the victim sees. If the application uses the `execHash` option and executes code from URL, the attacker can use this URL to execute their code. The scope is limited because the javascript attribute used is added to span tag, so no automatic execution like with `onerror` on images is possible. This issue is fixed in version 2.31.1. As a workaround, the user can use formatting that wrap whole user input and its no op. The code for this workaround is available in the GitHub Security Advisory. The fix will only work when user of the library is not using different formatters (e.g. to highlight code in different way).
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Jquery.Terminal Project | Jquery.Terminal | < 2.31.1 |
Related Weaknesses (CWE)
References
- https://github.com/jcubic/jquery.terminal/commit/77eb044d0896e990d48a9157f0bc664PatchThird Party Advisory
- https://github.com/jcubic/jquery.terminal/issues/727Issue TrackingThird Party Advisory
- https://github.com/jcubic/jquery.terminal/releases/tag/2.31.1Release NotesThird Party Advisory
- https://github.com/jcubic/jquery.terminal/security/advisories/GHSA-x9r5-jxvq-438ExploitIssue TrackingThird Party Advisory
- https://github.com/jcubic/jquery.terminal/commit/77eb044d0896e990d48a9157f0bc664PatchThird Party Advisory
- https://github.com/jcubic/jquery.terminal/issues/727Issue TrackingThird Party Advisory
- https://github.com/jcubic/jquery.terminal/releases/tag/2.31.1Release NotesThird Party Advisory
- https://github.com/jcubic/jquery.terminal/security/advisories/GHSA-x9r5-jxvq-438ExploitIssue TrackingThird Party Advisory
FAQ
What is CVE-2021-43862?
CVE-2021-43862 is a vulnerability with a CVSS score of 3.7 (LOW). jQuery Terminal Emulator is a plugin for creating command line interpreters in your applications. Versions prior to 2.31.1 contain a low impact and limited cross-site scripting (XSS) vulnerability. Th...
How severe is CVE-2021-43862?
CVE-2021-43862 has been rated LOW with a CVSS base score of 3.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-43862?
Check the references section above for vendor advisories and patch information. Affected products include: Jquery.Terminal Project Jquery.Terminal.