# CVE-2021-3938: Cross-site Scripting (XSS) - Generic in snipe/snipe-it

- Severity: Low 3.9 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-13T08:35:10.000Z
- Modified: 2026-06-17T04:06:01.190Z
- Also known as: GHSA-2cqg-q7jm-j35c
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

snipe-it is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

(As written by CVE List.)

## Affected

- snipe snipe/snipe-it: from unspecified up to 5.3.1
- snipe/snipe-it (Packagist): before 5.4.0
- snipeitapp snipe-it: up to 5.3.1

## Every score

- @huntrdev: CVSS:3.0 3.9 Low `CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.0 3.9 Low `CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/198a0d67-9189-4170-809b-0f8aea43b063> (exploit, patch, third-party-advisory, web)
- <https://github.com/snipe/snipe-it/commit/9ed1442bd124710f4178992cc4eca5236c7396b9> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3938> (advisory)
- <https://github.com/snipe/snipe-it> (package)

## Sources

- CVE List: [CVE-2021-3938](https://www.cve.org/CVERecord?id=CVE-2021-3938), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2cqg-q7jm-j35c](https://github.com/advisories/GHSA-2cqg-q7jm-j35c), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-3938](https://nvd.nist.gov/vuln/detail/CVE-2021-3938), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3938 · Whole record: https://cve.day/CVE-2021-3938.json · Rebuilt by cve.day 2026-11-25T22:58:05.556Z
