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.
| Package | Affected versions | Patched versions |
|---|---|---|
snipe/snipe-itPackagist | < 8.3.4 | 8.3.4 |
Affected products
1Patches
123feb64b5ab3Fixed 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- github.com/advisories/GHSA-4g25-wj72-chxgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-65622ghsaADVISORY
- snipeitapp.comghsaWEB
- github.com/firef0x00/vulnerability-research/tree/main/CVE-2025-65622ghsaWEB
- github.com/grokability/snipe-it/commit/23feb64b5ab3d92eb8755da41049ac43a3d0e05bghsaWEB
- github.com/grokability/snipe-it/releases/tag/v8.3.4ghsaWEB
News mentions
0No linked articles in our index yet.