# CVE-2021-45919: Studio 42 elFinder allows stored XSS

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/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.72%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-08T22:27:21.000Z
- Modified: 2026-06-17T04:14:15.383Z
- Also known as: GHSA-c3j8-q5x6-2855
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Studio 42 elFinder through 2.1.31 allows XSS via an SVG document.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- studio-42/elfinder (Packagist): up to 2.1.31
- std42 elfinder: up to 2.1.31

## Every score

- GitHub: 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: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://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/from-stored-xss-to-rce-using-beef-and-elfinder-cve-2021-45919/> (exploit, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45919> (advisory)
- <https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/from-stored-xss-to-rce-using-beef-and-elfinder-cve-2021-45919> (web)

## Sources

- CVE List: [CVE-2021-45919](https://www.cve.org/CVERecord?id=CVE-2021-45919), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-c3j8-q5x6-2855](https://github.com/advisories/GHSA-c3j8-q5x6-2855), CC-BY-4.0, modified 2024-02-20
- NVD: [CVE-2021-45919](https://nvd.nist.gov/vuln/detail/CVE-2021-45919), Public domain, modified 2026-06-17

---

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