CVE-2026-5987

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

State
Published
Severity
5.1 Medium
Published
Apr 9, 2026
Updated
Apr 10, 2026
Reserved
Apr 9, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.05.1 MediumCVSS: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:PVulDB
3.14.7 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:RVulDB
3.04.7 MediumCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:RVulDB
2.05.8 MediumAV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:URVulDB

Weaknesses

  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
  • CWE-791 Incomplete Filtering of Special Elements

Affected Products

ProductVersions
PublicCMSSanluan
  • 4.0.202506.aAffected
  • 4.0.202506.bAffected
  • 5.202506.aAffected
  • 5.202506.bAffected
  • 5.202506.dAffected
  • 6.202506.dAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.