Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-13240

The DMS/ECM module in Dolibarr 11.0.4 allows users with the 'Setup documents directories' permission to rename uploaded files to have insecure file extensions. This bypasses the .noexe protection mechanism against XSS.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-13240
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:18 UTC · Revision 1

Source evidence

CVE-2020-13240

core-osv · Original source

Published 20 May 2020, 15:15 UTC

The DMS/ECM module in Dolibarr 11.0.4 allows users with the 'Setup documents directories' permission to rename uploaded files to have insecure file extensions. This bypasses the .noexe protection mechanism against XSS.

osv:CVE-2020-13240
Complete source record
{
  "id": "c3f54f1f67feb70cb4cf31a5de13fc45129865e6d445964d45bbb9425c3867b1",
  "url": "https://osv.dev/vulnerability/CVE-2020-13240",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-13240",
    "summary": "The DMS/ECM module in Dolibarr 11.0.4 allows users with the 'Setup documents directories' permission to rename uploaded files to have insecure file extensions. This bypasses the .noexe protection mechanism against XSS.",
    "evidence": "osv:CVE-2020-13240",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-13240",
      "aliases": [
        "BIT-dolibarr-2020-13240",
        "CVE-2020-13240",
        "GHSA-f848-r5g6-6gpf"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dolibarr/dolibarr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d9cef1c8d79ac971641fc4304355f5cb44d5b5f3"
                },
                {
                  "last_affected": "d9cef1c8d79ac971641fc4304355f5cb44d5b5f3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dolibarr:dolibarr_erp\\/crm:11.0.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.0.4"
                      },
                      {
                        "last_affected": "11.0.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "11.0.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13240.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:16.912897850Z",
      "provider": "osv",
      "references": [
        "https://www.dubget.com/stored-xss-via-file-upload.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-13240",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429448,
  "published_at": "2020-05-20T15:15:11.187+00:00"
}