Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsThere is no fixed version for awesomplete
.
awesomplete is a lightweight, customizable, autocomplete widget for web applications.
Affected versions of this package are vulnerable to HTML Injection due to not processing text containing html tags properly. This may allow attackers to inject arbitrary HTML into a vulnerable web page.
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/awesomplete/1.1.4/awesomplete.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/awesomplete/1.1.4/awesomplete.js" async></script>
</head>
<body>
<input class="awesomplete" data-list="#mylist" data-minchars="1" />
<ul id="mylist">
<li> Seach for the following: <h1>Heading Tag Example</h1></li>
</ul>
</body>
</html>