lightgallery@1.3.8 vulnerabilities

lightGallery is a feature-rich, modular JavaScript gallery plugin for building beautiful image and video galleries for the web and the mobile

Direct Vulnerabilities

Known vulnerabilities in the lightgallery package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • M
Cross-site Scripting (XSS)

lightgallery is an A lightweight, customizable, modular, responsive, lightbox gallery plugin for jQuery.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via insufficient input sanitization and output escaping of attributes. An attacker can execute arbitrary web scripts in the context of other users by injecting malicious content into user-supplied attributes.

Note: While this vulnerability was originally disclosed in the context of multiple WordPress plugins, the underlying issue was determined to be in lightgallery.

How to fix Cross-site Scripting (XSS)?

There is no fixed version for lightgallery.

*