SecurityContext

CVE-2021-24960: WordPress File Upload - Stored XSS

  • Cve: CVE-2021-24960
  • Name: WordPress File Upload - Stored XSS
  • Description: The WordPress File Upload WordPress plugin before 4.16.3, wordpress-file-upload-pro WordPress plugin before 4.16.3 allows users with a role as low as Contributor to configure the upload form in a way that allows uploading of SVG files, which could be then be used for Cross-Site Scripting attacks
  • Impact: Attackers can upload malicious SVG files that execute scripts in browsers, leading to cross-site scripting attacks.
  • Remediation: Update to version 4.16.3 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: Attacker needs contributor role
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00674
  • Epss percentile: 0.52882
  • Assignee: [email protected]
  • Published at: 2022-03-07T09:15:08Z
  • Age in days: 1723
  • Modified at: 2026-06-17T03:41:12Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24960
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

Public exploits

UrlSourceAdded date
https://wpscan.com/vulnerability/18902832-2973-498d-808e-c75d1aedc11envd2022-03-07

References

UrlSourceTags
https://plugins.trac.wordpress.org/changeset/2677722nvdPatch, Third Party Advisory
https://wpscan.com/vulnerability/18902832-2973-498d-808e-c75d1aedc11envdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
iptanus:wordpress_file_upload< 4.16.3nonvd/v1/products/iptanus/wordpress_file_upload
iptanus:wordpress_file_upload_pro< 4.16.3nonvd/v1/products/iptanus/wordpress_file_upload_pro

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-03-07
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts