CVE-2025-31128
mediumpriority · track · 0EPSS 0.005 · 42 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 2.7–6.9
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
- Packagist:https://packages.drupal.org/8 drupal/gifplayer< 1.5.0osvUSpkg:composer/drupal/gifplayer?repository_url=https:%2F%2Fpackages.drupal.org%2F8
- Packagist:https://packages.drupal.org/8 drupal/gifplayer2.0.1 → 2.0.4osvUSpkg:composer/drupal/gifplayer?repository_url=https:%2F%2Fpackages.drupal.org%2F8
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0783Drupal: Mehrere SchwachstellenDeutsch2025-04-09csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Drupal ausnutzen, um einen Cross-Site Scripting Angriff durchzuführen, Sicherheitsvorkehrungen zu umgehen oder einen Denial of Service durchzuführen
- GHSA-gr7w-hmch-25g7gifplayer XSS vulnerability2025-03-31ghsa · osvUS
### Impact XSS vulnerability. All versions under 0.3.7 are impacted ### Patches Please upgrade to 0.3.7
- DRUPAL-CONTRIB-2025-0322025-04-09vendor · osvUS
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](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. 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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/rubentd/gifplayer/security/advisories/GHSA-gr7w-hmch-25g7Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-31128cnnvd
- https://vigilance.fr/vulnerability/Drupal-Gif-Player-Field-Cross-Site-Scripting-dated-09-04-2025-46846cnnvd
- https://github.com/rubentd/gifplayer/commit/2966193d4d066e5a6ba09dbdf1e1c7f8238630c8enisa_euvd
- https://github.com/rubentd/gifplayer/security/advisories/GHSA-gr7w-hmch-25g7enisa_euvd
- https://github.com/rubentd/gifplayer/commit/2966193d4d066e5a6ba09dbdf1e1c7f8238630c8nvd
- https://github.com/rubentd/gifplayer/security/advisories/GHSA-gr7w-hmch-25g7nvd
- https://www.drupal.org/sa-contrib-2025-032nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan