Skip to content
Heist/ feed
Back to feed
Low

Sanluan PublicCMS FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender special elements used in a template engine

Type: advisorySources: OSV

A security vulnerability has been detected in Sanluan PublicCMS up to 6.202506.d. This affects the function AbstractFreemarkerView.doRender of the file publiccms-parent/publiccms-core/src/main/java/com/publiccms/common/base/AbstractFreemarkerView.java of the component FreeMarker Template Handler. Such manipulation leads to improper neutralization of special elements used in a template engine. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-5987
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:11 UTC · Revision 1

Source evidence

Sanluan PublicCMS FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender special elements used in a template engine

core-osv · Original source

Published 9 Apr 2026, 22:45 UTC

A security vulnerability has been detected in Sanluan PublicCMS up to 6.202506.d. This affects the function AbstractFreemarkerView.doRender of the file publiccms-parent/publiccms-core/src/main/java/com/publiccms/common/base/AbstractFreemarkerView.java of the component FreeMarker Template Handler. Such manipulation leads to improper neutralization of special elements used in a template engine. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

osv:CVE-2026-5987
Complete source record
{
  "id": "c6d75bbcec082ad2db04aeec891542f7af480df8400eea54118ed411a5394792",
  "url": "https://osv.dev/vulnerability/CVE-2026-5987",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Sanluan PublicCMS FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender special elements used in a template engine",
    "summary": "A security vulnerability has been detected in Sanluan PublicCMS up to 6.202506.d. This affects the function AbstractFreemarkerView.doRender of the file publiccms-parent/publiccms-core/src/main/java/com/publiccms/common/base/AbstractFreemarkerView.java of the component FreeMarker Template Handler. Such manipulation leads to improper neutralization of special elements used in a template engine. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.",
    "evidence": "osv:CVE-2026-5987",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-5987",
      "aliases": [
        "CVE-2026-5987"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sanluan/publiccms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f85d04e43270b292b502179eb268bffa35380100"
                },
                {
                  "last_affected": "0ad2201fc2dcd564bbc272f7db2af304abd6c486"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "4.0.202506.a"
                      },
                      {
                        "last_affected": "4.0.202506.a"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "4.0.202506.b"
                      },
                      {
                        "last_affected": "4.0.202506.b"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.202506.a"
                      },
                      {
                        "last_affected": "5.202506.a"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.202506.b"
                      },
                      {
                        "last_affected": "5.202506.b"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.202506.d"
                      },
                      {
                        "last_affected": "5.202506.d"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "6.202506.d"
                      },
                      {
                        "last_affected": "6.202506.d"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6.202506.d"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.202506.a",
            "5.202506.a",
            "6.202506.d"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5987.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.073814808Z",
      "provider": "osv",
      "references": [
        "https://github.com/sanluan/PublicCMS/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5987.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-5987",
        "https://vuldb.com/submit/792385",
        "https://vuldb.com/vuln/356541",
        "https://github.com/sanluan/PublicCMS/issues/113",
        "https://vuldb.com/vuln/356541/cti"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1336",
          "CWE-791"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5987.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-5987",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496703,
  "published_at": "2026-04-09T22:45:14.041+00:00"
}