Vulnerabilities in pkg:pypi/django-filer

PACKAGE
Advisory Identifier: GHSA-j4v3-wwwx-5gqv
Advisory Summary

CVE-2024-11404 is a MODERATE (CVSS 5.5) django filer unrestricted upload of vulnerability (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)) affecting Django filer libraries in the PyPI ecosystem. The issue involves django filer unrestricted upload of file with dangerous type. Remediation is available by upgrading affected packages to version 3.3.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/django-filer

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/django-filer. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-j4v3-wwwx-5gqv CVE-2024-11404 MODERATE Django Filer Unrestricted Upload of File with Dangerous Type

CVE-2024-11404 at a Glance

CVE Identifier CVE-2024-11404
GHSA Identifier GHSA-j4v3-wwwx-5gqv
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Affected Product Django filer
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2024-11404

To remediate this vulnerability, upgrade all affected Django filer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

django-filer fixed: 3.3.0
pip install django-filer>=3.3.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show django-filer

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2024-11404, inspect your installed packages using pip:

pip show django-filer

Analyze the terminal output to locate any version of Django filer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.0), your application is affected.

Note: The pip show django-filer command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. In Django filer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Unrestricted Upload of File with Dangerous Type, Improper Input Validation, Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in django CMS Association django Filer allows Input Data Manipulation, Stored XSS.This issue affects django Filer: from 3 before 3.3.

CVE-2024-11404 Affected Django filer Versions

1 component(s)
Fixed Versions:
3.3.0
Product / Package Ecosystem Affected Versions Fixed Version
django-filer
PyPI
< 3.3.0
3.3.0

References

Frequently Asked Questions

What is CVE-2024-11404?
CVE-2024-11404 is a security vulnerability in Django filer involving Django Filer Unrestricted Upload of File with Dangerous Type under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS).
Which Django filer versions are affected?
Affected versions include releases prior to 3.3.0 across affected packages: django-filer.
What version fixes CVE-2024-11404?
Upgrading to 3.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is django-filer affected?
Yes, django-filer is affected in releases prior to 3.3.0. Upgrade your dependency to 3.3.0 or later.
What is the CVSS score of CVE-2024-11404?
CVE-2024-11404 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2024-11404?
CVE-2024-11404 is classified under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) (The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.).
How can I check PyPI dependencies for CVE-2024-11404?
Run the dependency tree command: 'pip show django-filer'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j4v3-wwwx-5gqv",
  "modified" : "2026-06-09T10:54:51Z",
  "published" : "2024-11-20T12:30:35Z",
  "aliases" : [ "CVE-2024-11404" ],
  "summary" : "Django Filer Unrestricted Upload of File with Dangerous Type",
  "details" : "Unrestricted Upload of File with Dangerous Type, Improper Input Validation, Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in django CMS Association django Filer allows Input Data Manipulation, Stored XSS.This issue affects django Filer: from 3 before 3.3.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "django-filer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.3.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-11404"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/django-cms/django-filer/commit/f8209a6507680661bd134cd30878993b79ef3344"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/django-cms/django-filer"
  }, {
    "type" : "WEB",
    "url" : "https://iltosec.com/blog/post/cve-2024-11404-medium-severity-file-upload-vulnerabilities-in-django-filer-323"
  }, {
    "type" : "WEB",
    "url" : "https://iltosec.com/blog/post/djangocms-attributes-field-300-stored-xss-vulnerability"
  }, {
    "type" : "WEB",
    "url" : "https://pypi.org/project/django-filer"
  }, {
    "type" : "WEB",
    "url" : "https://siberguvenlik.gov.tr/guvenlik-bildirimleri/detay/tr-24-1864"
  }, {
    "type" : "WEB",
    "url" : "https://www.django-cms.org/en/blog/2024/11/19/security-updates-for-django-filer-and-django-cms-attributes-field"
  }, {
    "type" : "WEB",
    "url" : "https://www.usom.gov.tr/bildirim/tr-24-1864"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-434", "CWE-80" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-20T18:27:56Z",
    "nvd_published_at" : "2024-11-20T12:15:18Z"
  }
}