CVE-2021-23562: Code injection in plupload
4.2
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.75299%
CWE
Published
12/16/2021
Updated
2/1/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
plupload | npm | < 2.3.9 | 2.3.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The key vulnerability was in how file metadata (particularly filenames) was handled in UI rendering. The commit d12175d
shows they added plupload.xmlEncode()
to file[$1] in a template string. This matches the CWE-75 (Special Element Injection) description and the vulnerability's XSS nature. The affected code was in the jQuery
UI integration component that displays uploaded files, where unescaped filename
values could lead to HTML injection.