# CVE-2021-32644: Cross-site Scripting in Random.php

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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.85%, higher than 59% of CVEs (2026-12-01)
- Published: 2021-06-22T17:45:11.000Z
- Modified: 2026-06-17T03:53:20.240Z
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

Ampache is an open source web based audio/video streaming application and file manager. Due to a lack of input filtering versions 4.x.y are vulnerable to code injection in random.php. The attack requires user authentication to access the random.php page unless the site is running in demo mode. This issue has been resolved in 4.4.3.

(As written by CVE List.)

## Affected

- ampache ampache: >= 4.0.0, < 4.4.3; 4.4.2

## Every score

- GitHub_M: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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://github.com/ampache/ampache/security/advisories/GHSA-vqpj-xgw2-r54q> (third-party-advisory)
- <https://github.com/ampache/ampache/commit/c9453841e1b517a1660c3da1efd1fe5d623c93a5> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-32644](https://www.cve.org/CVERecord?id=CVE-2021-32644), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32644](https://nvd.nist.gov/vuln/detail/CVE-2021-32644), Public domain, modified 2026-06-17

---

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