Snyk has a published code exploit for 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 applicationsLearn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.
Start learningUpgrade foundation-sites
to version 6.0.0 or higher.
foundation-sites
is an advanced responsive front-end framework.
Affected versions of this package are vulnerable to Cross-site Scripting (XSS) attacks due to an insufficient fix to npm:foundation-sites:20150619
Thanks to Nathaniel Paulus for disclosing this vulnerability!
Although innerHTML
does not make script tags executable, script tags are not the only way to run arbitrary code.
This vulnerability was introduced in a deliberate attempt to allow HTML in captions. The file was subsequently deleted when version 6 was merged into the develop branch in 1e08494bb2118c9786ffc33c28158311cd542bcb. Confirmation of its removal (as well as plans to re-add it) can be found in issue 7759
<>
You can read more about Cross-site Scripting (XSS)
on our blog.