6.9medium
gifplayer XSS vulnerability
- Severity
- 6.9medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.49% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-gr7w-hmch-25g7DRUPAL-CONTRIB-2025-032
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rubentd gifplayer | < 0.3.7 | CVE List |
| gifplayer (npm) | before 0.3.7 | GitHub Advisory Database |
| drupal/gifplayer (Packagist:https://packages.drupal.org/8) | before 1.5.0, from 2.0.1 before 2.0.4 | Drupal Security Team |
All scores
| GitHub_M | 6.9medium CVSS:4.0 | 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 |
| GitHub | medium CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
XSS vulnerability. All versions under 0.3.7 are impacted
Patches
Please upgrade to 0.3.7
Drupal Security Team
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.
The module uses GifPlayer jQuery library 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.
This 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.
NVD (es)
gifplayer es un complemento de jQuery personalizable para reproducir y detener GIFs animados. Contiene una vulnerabilidad de cross-site scripting (XSS). Esta vulnerabilidad se corrigió en la versión 0.3.7.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-31128 changed 2025-06-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gr7w-hmch-25g7 changed 2025-12-10 | CC-BY-4.0 |
| Drupal Security Team | DRUPAL-CONTRIB-2025-032 changed 2026-09-10 | MIT |
| NVD | CVE-2025-31128 changed 2026-06-17 | Public domain |