{"id":"CVE-2025-31128","aliases":["DRUPAL-CONTRIB-2025-032","EUVD-2025-9051","GHSA-gr7w-hmch-25g7"],"status":"published","title":"gifplayer XSS vulnerability","description":"gifplayer is a customizable jquery plugin to play and stop animated gifs. gifplayer contains a cross-site scripting (XSS) vulnerability. This vulnerability is fixed in 0.3.7.","severity":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00486,"percentile":0.42344,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2025-03-31T18:47:32Z","modified":"2026-10-28T02:30:48Z","fixes":[{"ecosystem":"npm","package":"gifplayer","fixed_in":["0.3.7"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/gifplayer","fixed_in":["1.5.0","2.0.4"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"gifplayer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.7"}]}]},{"source":"osv","ecosystem":"Packagist:https://packages.drupal.org/8","package":"drupal/gifplayer","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.0.1"},{"fixed":"2.0.4"}]}]},{"source":"osv","ecosystem":"npm","package":"gifplayer","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.7"}]}]}],"products":[{"vendor":"rubentd","product":"gifplayer"}],"references":[{"url":"https://github.com/rubentd/gifplayer/security/advisories/GHSA-gr7w-hmch-25g7","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/rubentd/gifplayer/commit/2966193d4d066e5a6ba09dbdf1e1c7f8238630c8","tags":["x_refsource_MISC","fix","web"]},{"url":"https://www.drupal.org/sa-contrib-2025-032","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31128","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-gr7w-hmch-25g7"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31128.json","tags":["advisory"]},{"url":"https://github.com/rubentd/gifplayer","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-31128","title":"gifplayer XSS vulnerability","description":"gifplayer is a customizable jquery plugin to play and stop animated gifs. gifplayer contains a cross-site scripting (XSS) vulnerability. This vulnerability is fixed in 0.3.7.","status":"published","published":"2025-03-31T18:47:32.369Z","modified":"2025-06-12T21:03:34.814Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:44.424933Z"}],"euvd":[{"id":"EUVD-2025-9051","description":"gifplayer is a customizable jquery plugin to play and stop animated gifs. gifplayer contains a cross-site scripting (XSS) vulnerability. This vulnerability is fixed in 0.3.7.","status":"published","published":"2025-03-31T18:47:32Z","modified":"2025-06-12T21:03:34Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"updated_at":"2026-11-02T20:32:24.065864Z"}],"ghsa":[{"id":"GHSA-gr7w-hmch-25g7","title":"gifplayer XSS vulnerability","description":"### Impact\nXSS vulnerability. All versions under 0.3.7 are impacted\n\n### Patches\nPlease upgrade to 0.3.7","status":"published","published":"2025-03-31T22:36:11Z","modified":"2025-03-31T22:36:12Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:37.325334Z"}],"nvd":[{"id":"CVE-2025-31128","description":"gifplayer is a customizable jquery plugin to play and stop animated gifs. gifplayer contains a cross-site scripting (XSS) vulnerability. This vulnerability is fixed in 0.3.7.","status":"published","published":"2025-03-31T19:15:42.883Z","modified":"2026-06-17T09:09:54.35Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:10:56.494516Z"}],"osv":[{"id":"CVE-2025-31128","title":"gifplayer XSS vulnerability","description":"gifplayer is a customizable jquery plugin to play and stop animated gifs. gifplayer contains a cross-site scripting (XSS) vulnerability. This vulnerability is fixed in 0.3.7.","status":"published","published":"2025-03-31T18:47:32.369Z","modified":"2026-10-28T02:30:48.834523815Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:48.02508Z"},{"id":"GHSA-gr7w-hmch-25g7","title":"gifplayer XSS vulnerability","description":"### Impact\nXSS vulnerability. All versions under 0.3.7 are impacted\n\n### Patches\nPlease upgrade to 0.3.7","status":"published","published":"2025-03-31T22:36:11Z","modified":"2025-12-10T23:41:08.409212Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"DRUPAL-CONTRIB-2025-032","description":"Gif Player Field creates a simple file field types that allows you to upload the GIF files and configure the output for this using the Field Formatters.\n\nThe module uses [GifPlayer jQuery library](https://github.com/rubentd/gifplayer) to render the GIF according to configured setups for the Field Formatter. The external Gif Player Library doesn't satinize the attributes properly when rendering the widget, allowing a malicious user to run XSS attacks.\n\nThis vulnerability is mitigated by the fact that an attacker would need to have an account on the website and be able to create an image tag with a data-label element. There are no fields that allow that element on a default Drupal site for a user with user-level permissions.","status":"published","published":"2025-04-09T17:04:46Z","modified":"2026-09-10T03:45:41.419887049Z","updated_at":"2026-11-02T15:46:13.584509Z"}]}}
