2026-08-23 19:45CVE-2026-78140VulDB
PUBLISHED5.2ApplicationCWE-1336CWE-791

Dromara UJCMS web-file-template Endpoint WebFileTemplateController.java update special elements in template engine

A flaw has been found in Dromara UJCMS up to 10.1.3. The impacted element is the function update of the file src/main/java/com/ujcms/cms/ext/web/backendapi/WebFileTemplateController.java of the component web-file-template Endpoint. Executing a manipulation can lead to improper neutralization of special elements used in a template engine. The attack can be launched remotely. The exploit has been published and may be used.

Problem type

Affected products

Dromara

UJCMS

10.1.0 - AFFECTED

10.1.1 - AFFECTED

10.1.2 - AFFECTED

10.1.3 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-78140
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-78140",
    "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
    "assignerShortName": "VulDB",
    "dateUpdated": "2026-08-23T19:45:07.529Z",
    "dateReserved": "2026-08-23T05:44:39.453Z",
    "datePublished": "2026-08-23T19:45:07.529Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "shortName": "VulDB",
        "dateUpdated": "2026-08-23T19:45:07.529Z"
      },
      "title": "Dromara UJCMS web-file-template Endpoint WebFileTemplateController.java update special elements in template engine",
      "descriptions": [
        {
          "lang": "en",
          "value": "A flaw has been found in Dromara UJCMS up to 10.1.3. The impacted element is the function update of the file src/main/java/com/ujcms/cms/ext/web/backendapi/WebFileTemplateController.java of the component web-file-template Endpoint. Executing a manipulation can lead to improper neutralization of special elements used in a template engine. The attack can be launched remotely. The exploit has been published and may be used."
        }
      ],
      "affected": [
        {
          "vendor": "Dromara",
          "product": "UJCMS",
          "cpes": [
            "cpe:2.3:a:ujcms:ujcms:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "web-file-template Endpoint"
          ],
          "versions": [
            {
              "version": "10.1.0",
              "status": "affected"
            },
            {
              "version": "10.1.1",
              "status": "affected"
            },
            {
              "version": "10.1.2",
              "status": "affected"
            },
            {
              "version": "10.1.3",
              "status": "affected"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Improper Neutralization of Special Elements Used in a Template Engine",
              "cweId": "CWE-1336",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Incomplete Filtering of Special Elements",
              "cweId": "CWE-791",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://vuldb.com/vuln/394523",
          "name": "VDB-394523 | Dromara UJCMS web-file-template Endpoint WebFileTemplateController.java update special elements in template engine",
          "tags": [
            "vdb-entry",
            "technical-description"
          ]
        },
        {
          "url": "https://vuldb.com/vuln/394523/cti",
          "name": "VDB-394523 | CTI Indicators (IOB, IOC, TTP, IOA)",
          "tags": [
            "signature",
            "permissions-required"
          ]
        },
        {
          "url": "https://vuldb.com/cve/CVE-2026-78140",
          "name": "CVE-2026-78140 | CVE Analysis and Report",
          "tags": [
            "third-party-advisory"
          ]
        },
        {
          "url": "https://vuldb.com/submit/882065",
          "name": "Submit #882065 | dromara ujcms 10.1.3 Server-Side Template Injection (SSTI)",
          "tags": [
            "third-party-advisory"
          ]
        },
        {
          "url": "https://github.com/d0ctorsec/CVE-Reports/blob/main/CVE-UJCMS-v10.1.3-FreeMarker-SSTI/CVE-UJCMS-v10.1.3-FreeMarker-SSTI.md",
          "tags": [
            "exploit"
          ]
        }
      ],
      "metrics": [
        {},
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R",
            "baseScore": 4.7,
            "baseSeverity": "MEDIUM"
          }
        },
        {
          "cvssV3_0": {
            "version": "3.0",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R",
            "baseScore": 4.7,
            "baseSeverity": "MEDIUM"
          }
        },
        {
          "cvssV2_0": {
            "version": "2.0",
            "vectorString": "AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR",
            "baseScore": 5.8
          }
        }
      ],
      "timeline": [
        {
          "time": "2026-08-23T00:00:00.000Z",
          "lang": "en",
          "value": "Advisory disclosed"
        },
        {
          "time": "2026-08-23T02:00:00.000Z",
          "lang": "en",
          "value": "VulDB entry created"
        },
        {
          "time": "2026-08-23T07:49:45.000Z",
          "lang": "en",
          "value": "VulDB entry last update"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "dactar (VulDB User)",
          "type": "reporter"
        }
      ]
    }
  }
}