CVE-2026-5987
published medium CVSS 4.0 · 5.1Sanluan PublicCMS FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender special elements used in a template engine
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Sanluan | — | PublicCMS4.0.202506.a · 4.0.202506.b · 5.202506.a · 5.202506.b · 5.202506.d · 6.202506.d | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.7 | medium | VulDB · cna | 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 | — |
| 3.0 | 4.7 | medium | VulDB · cna | 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 | — |
| 2.0 | 5.8 | medium | VulDB · cna | AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Sanluan | PublicCMS | 4.0.202506.a (affected)4.0.202506.b (affected)5.202506.a (affected)5.202506.b (affected)5.202506.d (affected)6.202506.d (affected) | VulDB · cna |
Weaknesses
2- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
- CWE-791 Incomplete Filtering of Special Elements
References
5- https://github.com/sanluan/PublicCMS/
- https://github.com/sanluan/PublicCMS/issues/113
- Submit #792385 | sanluan PublicCMS V4.0.202506.a, V4.0.202506.b, V5.202506.a, V5.202506.b, V5.202506.d, V6.202506.d Code Injection https://vuldb.com/submit/792385
- VDB-356541 | Sanluan PublicCMS FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender special elements used in a template engine https://vuldb.com/vuln/356541
- VDB-356541 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/356541/cti
Provider assertions
2VulDB · cna
Sanluan PublicCMS FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender special elements used in a template engine
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 514eceab51e341d69a731e80001f3438f963f32c69ca9a2fe85e926cb6dbfb22
- Ingested
- 23 Sep 2026, 09:23:35 UTC
- Source record
- Official CVE record