CVE-2022-22117
CVE-2022-22117 is a medium-severity vulnerability in Rangerstudio Directus with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- CVSS v2: 3.5
- EPSS exploit prediction: 1% (46th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-79
- Affected product: Rangerstudio Directus
- Published:
- Last modified:
Description
In Directus, versions 9.0.0-alpha.4 through 9.4.1 allow unrestricted file upload of .html files in the media upload functionality, which leads to Cross-Site Scripting vulnerability. A low privileged attacker can upload a crafted HTML file as a profile avatar, and when an admin or another user opens it, the XSS payload gets triggered.
Frequently asked questions
- What is CVE-2022-22117?
- In Directus, versions 9.0.0-alpha.4 through 9.4.1 allow unrestricted file upload of .html files in the media upload functionality, which leads to Cross-Site Scripting vulnerability. A low privileged attacker can upload a crafted HTML file as a profile avatar, and when an admin or another user opens it, the XSS payload gets triggered.
- How severe is CVE-2022-22117?
- CVE-2022-22117 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2022-22117 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (46th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-22117?
- CVE-2022-22117 primarily affects Rangerstudio Directus. In total, 153 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-22117?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-22117 published?
- CVE-2022-22117 was published on 2022-01-10 and last updated on 2026-06-17.
References
- https://github.com/directus/directus/commit/ec86d5412d45136915d9b622b4a890dd26932b10
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2022-22117
Affected products (153)
- cpe:2.3:a:rangerstudio:directus:*:*:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:-:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha10:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha11:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha12:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha13:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha14:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha15:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha16:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha17:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha18:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha19:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha20:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha21:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha22:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha23:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha24:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha25:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha26:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha27:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha31:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha32:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha33:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha34:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha35:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha36:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha37:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha38:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha39:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha4:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha40:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha41:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha42:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha5:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha6:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha7:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha8:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:alpha9:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:beta0:*:*:*:*:*:*
- cpe:2.3:a:rangerstudio:directus:9.0.0:beta1:*:*:*:*:*:*
More vulnerabilities in Rangerstudio Directus
- CVE-2018-10723 — Critical (CVSS 9.8): Directus 6.4.9 has a hardcoded admin password for the Admin account because of an INSERT statement in api/schema.sql.
- CVE-2022-24814 — High (CVSS 8.8): Directus is a real-time API and App dashboard for managing SQL database content. Prior to version 9.7.0, unauthorized…
- CVE-2021-29641 — High (CVSS 8.8): Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions…
- CVE-2021-26594 — High (CVSS 8.8): In Directus 8.x through 8.8.1, an attacker can switch to the administrator role (via the PATCH method) without any…
- CVE-2023-27474 — High (CVSS 8.0): Directus is a real-time API and App dashboard for managing SQL database content. Instances relying on an allow-listed…
- CVE-2021-26593 — High (CVSS 7.5): In Directus 8.x through 8.8.1, an attacker can see all users in the CMS using the API /users/{id}. For each call, they…
All CVEs affecting Rangerstudio Directus →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →