{"id":"CVE-2025-48447","aliases":["CVE-2025-48447","GHSA-w5px-5878-m9x4","DRUPAL-CONTRIB-2025-069"],"related":[],"kind":"vulnerability","state":"published","title":"Lightgallery - Moderately critical - Cross Site Scripting - SA-CONTRIB-2025-069","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"drupal"},{"lang":"es","text":"La vulnerabilidad de neutralización incorrecta de la entrada durante la generación de páginas web ('Cross-site Scripting') en Drupal Lightgallery permite Cross-Site Scripting (XSS). Este problema afecta a Lightgallery: desde la versión 0.0.0 hasta la 1.6.0.","source":"nvd"}],"published":"2025-05-21T17:29:25.000Z","modified":"2026-09-10T03:45:57.006Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"1.6.0","status":"affected"}],"vendor":"Drupal","product":"Lightgallery","repo":"https://git.drupalcode.org/project/lightgallery","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.6.0"}],"ecosystem":"Packagist","package":"drupal/lightgallery","purl":"pkg:composer/drupal/lightgallery","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.6.0"}],"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/lightgallery","purl":"pkg:composer/drupal/lightgallery?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"drupal"},{"ranges":[{"status":"affected","fixed":"1.6.0"}],"vendor":"lightgallery_project","product":"lightgallery","cpe":"cpe:2.3:a:lightgallery_project:lightgallery:*:*:*:*:*:drupal:*:*","source":"nvd"}],"references":[{"url":"https://www.drupal.org/sa-contrib-2025-069","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","drupal","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48447","tags":["advisory"],"sources":["ghsa"]}],"credits":["Pierre Rudloff (prudloff)","Murilo Henrique Pucci (murilohp)","Greg Knaddison (greggles)","Juraj Nemec (poker10)"],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-06-11T15:36:24.985Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-48447","url":"https://www.cve.org/CVERecord?id=CVE-2025-48447","licence":"CVE Terms of Use","modified":"2025-06-11T15:36:46.018Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w5px-5878-m9x4","url":"https://github.com/advisories/GHSA-w5px-5878-m9x4","licence":"CC-BY-4.0","modified":"2025-12-10T23:41:10.570Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CONTRIB-2025-069","url":"https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-069","licence":"MIT","modified":"2026-09-10T03:45:57.006Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-48447","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48447","licence":"Public domain","modified":"2026-06-17T09:29:39.010Z"}],"updatedAt":"2026-11-25T22:58:59.149Z","epss":{"score":0.00349,"percentile":0.30481,"date":"2026-12-01T12:00:22.000Z"}}