VYPR
Moderate severityOSV Advisory· Published Dec 1, 2025· Updated Dec 3, 2025

CVE-2025-65622

CVE-2025-65622

Description

Snipe-IT before 8.3.4 allows stored XSS via the Locations "Country" field, enabling a low-privileged authenticated user to inject JavaScript that executes in another user's session.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
snipe/snipe-itPackagist
< 8.3.48.3.4

Affected products

1

Patches

1
23feb64b5ab3

Fixed potential XSS on locations

1 file changed · +1 1
  • resources/macros/macros.php+1 1 modified
    @@ -31,7 +31,7 @@
     
         // If the country value doesn't exist in the array, add it as a new option and select it so we don't drop that data
         if (!array_key_exists($selected, $countries_array)) {
    -        $select .= '<option value="' . $selected . '" selected="selected" role="option" aria-selected="true">' . $selected .' *</option> ';
    +        $select .= '<option value="' . e($selected) . '" selected="selected" role="option" aria-selected="true">' . e($selected) .' *</option> ';
         }
     
         $select .= '</select>';
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

0

No linked articles in our index yet.