CVE-2026-5987

Source
https://cve.org/CVERecord?id=CVE-2026-5987
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5987.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-5987
Published
2026-04-09T22:45:14.041Z
Modified
2026-07-15T01:49:20.611295913Z
Severity
  • 2.0 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Sanluan PublicCMS FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender special elements used in a template engine
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-1336",
        "CWE-791"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5987.json",
    "cna_assigner": "VulDB"
}
References

Affected packages

Git / github.com/sanluan/publiccms

Affected ranges

Type
GIT
Repo
https://github.com/sanluan/publiccms
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "4.0.202506.a"
        },
        {
            "last_affected": "4.0.202506.a"
        },
        {
            "introduced": "4.0.202506.b"
        },
        {
            "last_affected": "4.0.202506.b"
        },
        {
            "introduced": "5.202506.a"
        },
        {
            "last_affected": "5.202506.a"
        },
        {
            "introduced": "5.202506.b"
        },
        {
            "last_affected": "5.202506.b"
        },
        {
            "introduced": "5.202506.d"
        },
        {
            "last_affected": "5.202506.d"
        },
        {
            "introduced": "6.202506.d"
        },
        {
            "last_affected": "6.202506.d"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

4.*
4.0.202506.a
5.*
5.202506.a
6.*
6.202506.d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5987.json"