{"answers":{"affected":"2 open source packages ship an affected version, including gifplayer.","exploited":"There is no known exploitation of CVE-2025-31128 in the wild and no public exploit code.","fix":"Upgrade gifplayer to 0.3.7 or later.","what":"CVE-2025-31128 is a medium-severity vulnerability in rubentd gifplayer, published on 31 Mar 2025."},"fix_prompt":"Check this codebase for CVE-2025-31128 and fix it if it is affected.\n\nWhat it is: CVE-2025-31128 is a medium-severity vulnerability in rubentd gifplayer, published on 31 Mar 2025. \nExploitation: There is no known exploitation of CVE-2025-31128 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- gifplayer (npm): affected all versions; fixed in 0.3.7\n- gifplayer (npm): affected all versions; fixed in 0.3.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-31128/ (Markdown: https://insights.sbomify.com/CVE-2025-31128/index.md)","id":"CVE-2025-31128","markdown":"https://insights.sbomify.com/CVE-2025-31128/index.md","name":"CVE-2025-31128","record":{"aliases":["DRUPAL-CONTRIB-2025-032","GHSA-gr7w-hmch-25g7"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Packagist:https://packages.drupal.org/8","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"gifplayer XSS vulnerability","id":"CVE-2025-31128","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"jooby-pac4j: deserialization of untrusted data","id":"CVE-2025-31129"},"packages":[{"ecosystem":"npm","fixed":["0.3.7"],"introduced":["0"],"last_affected":[],"package":"gifplayer","purl":null,"source":"GHSA-gr7w-hmch-25g7"},{"ecosystem":"npm","fixed":["0.3.7"],"introduced":["0"],"last_affected":[],"package":"gifplayer","purl":"pkg:npm/gifplayer","source":"GHSA-gr7w-hmch-25g7"},{"ecosystem":"Packagist:https://packages.drupal.org/8","fixed":["1.5.0","2.0.4"],"introduced":["0","2.0.1"],"last_affected":[],"package":"drupal/gifplayer","purl":"pkg:composer/drupal/gifplayer?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"DRUPAL-CONTRIB-2025-032"}],"prev":{"headline":"Information disclosure in element-x-android","id":"CVE-2025-31127"},"products":["gifplayer"],"published":"2025-03-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-12","vendors":["rubentd"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-31128/"}