{"id":"CVE-2025-48447","aliases":["DRUPAL-CONTRIB-2025-069","EUVD-2025-18123","GHSA-w5px-5878-m9x4"],"status":"published","title":"Lightgallery - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-069","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Lightgallery allows Cross-Site Scripting (XSS).This issue affects Lightgallery: from 0.0.0 before 1.6.0.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00349,"percentile":0.28859,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2025-05-21T17:29:25Z","modified":"2026-09-10T03:45:57Z","fixes":[{"ecosystem":"Packagist","package":"drupal/lightgallery","fixed_in":["1.6.0"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/lightgallery","fixed_in":["1.6.0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"drupal/lightgallery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}]},{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/lightgallery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"drupal/lightgallery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}]}],"products":[{"vendor":"drupal","product":"lightgallery"},{"vendor":"lightgallery_project","product":"lightgallery"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2025-069","tags":["Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48447","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-w5px-5878-m9x4"}],"sources":{"cve":[{"id":"CVE-2025-48447","title":"Lightgallery - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-069","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Lightgallery allows Cross-Site Scripting (XSS).This issue affects Lightgallery: from 0.0.0 before 1.6.0.","status":"published","published":"2025-06-11T14:37:45.457Z","modified":"2025-06-11T15:36:46.018Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:41.41198Z"}],"euvd":[{"id":"EUVD-2025-18123","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Lightgallery allows Cross-Site Scripting (XSS).This issue affects Lightgallery: from 0.0.0 before 1.6.0.","status":"published","published":"2025-06-11T14:37:45Z","modified":"2025-06-11T15:36:46Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-02T20:32:24.98161Z"}],"ghsa":[{"id":"GHSA-w5px-5878-m9x4","title":"Drupal Lightgallery Cross-site Scripting vulnerability","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Lightgallery allows Cross-Site Scripting (XSS). This issue affects Lightgallery: from 0.0.0 before 1.6.0.","status":"published","published":"2025-06-11T15:30:30Z","modified":"2025-06-11T18:04:11Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:46.901955Z"}],"nvd":[{"id":"CVE-2025-48447","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Lightgallery allows Cross-Site Scripting (XSS).This issue affects Lightgallery: from 0.0.0 before 1.6.0.","status":"published","published":"2025-06-11T15:15:42.607Z","modified":"2026-06-17T09:29:39.01Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:11.789448Z"}],"osv":[{"id":"GHSA-w5px-5878-m9x4","title":"Drupal Lightgallery Cross-site Scripting vulnerability","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Lightgallery allows Cross-Site Scripting (XSS). This issue affects Lightgallery: from 0.0.0 before 1.6.0.","status":"published","published":"2025-06-11T15:30:30Z","modified":"2025-12-10T23:41:10.570779Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:58.04805Z"},{"id":"DRUPAL-CONTRIB-2025-069","description":"This module integrates Drupal with LightGallery, enabling the use of the LightGallery library with any image field or view.\n\nThe module does not adequately sanitize user input in the image field’s \"alt\" attribute, potentially allowing cross-site scripting (XSS) attacks when tags or scripts are inserted.\n\nThis vulnerability is partially mitigated by the requirement that an attacker must have permission to create content containing an image field configured to use the LightGallery format.","status":"published","published":"2025-05-21T17:29:25Z","modified":"2026-09-10T03:45:57.006180738Z","updated_at":"2026-11-02T15:46:13.900249Z"}]}}
