CVE-2021-45919
PHP vulnerability analysis and mitigation

Overview

A stored cross-site scripting (XSS) vulnerability, identified as CVE-2021-45919, was discovered in Studio 42 elFinder through version 2.1.31. The vulnerability allows attackers to execute malicious JavaScript code via an SVG document. This security flaw affects the file manager component, which can be integrated into various web applications including Django, Drupal, Laravel, Roundcube, Subrion, Symfony, Tiki Wiki, WordPress, XOOPS, Yii & Zenphoto (Trustwave Blog).

Technical details

The vulnerability is classified with a CVSS v3.1 Base Score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. The CVSS v2.0 Base Score is 3.5 (Low) with the vector (AV:N/AC:M/Au:S/C:N/I:P/A:N). The vulnerability specifically involves the improper neutralization of input during web page generation, categorized as CWE-79 (NVD).

Impact

The vulnerability can result in the theft of user credentials, tokens, and enables attackers to execute malicious JavaScript code in the user's browser. The impact is particularly significant for organizations utilizing an out-of-date elFinder component in their web applications, especially those with user-permissions-based deployments or unauthenticated implementations (Trustwave Blog).

Mitigation and workarounds

Organizations should upgrade their elFinder installations to versions newer than 2.1.31. For deployments where immediate updates are not possible, it's recommended to implement strict authentication requirements and carefully review file upload permissions. Software engineers should evaluate their authentication requirements for elFinder integrations to minimize potential attack surfaces (Trustwave Blog).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2026-23493HIGH8.6
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026
CVE-2026-23495MEDIUM4.3
  • PHPPHP
  • pimcore/admin-ui-classic-bundle
NoYesJan 15, 2026
CVE-2026-23494MEDIUM4.3
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management