Home / Sanluan / PublicCMS / CVE-2026-5987
CVE-2026-5987: is it exploited, and which versions of Sanluan PublicCMS are affected and fixed?
CVE-2026-5987 is a template injection vulnerability in Sanluan PublicCMS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: PublicCMS 4.0.202506.a, PublicCMS 4.0.202506.b, PublicCMS 5.202506.a and 3 more (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.1, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-5987?
Sanluan PublicCMS FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender special elements used in a template engine
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.
From the CVE record by VulDB, last updated April 10, 2026, 13:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Sanluan | PublicCMS | 4.0.202506.a 4.0.202506.b 5.202506.a 5.202506.b 5.202506.d 6.202506.d |
As the CVE record by VulDB states it, last updated April 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-5987?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 4.0 | 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 | VulDB |
| Medium 4.7 | CVSS 3.1 | 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 | VulDB |
| Medium 4.7 | CVSS 3.0 | 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 | VulDB |
| Medium 5.8 | CVSS 2.0 | AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-5987 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 10, 2026)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 18.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
- CWE-791 Incomplete Filtering of Special Elements
Where are the vendor advisories and references?
- VDB-356541 | Sanluan PublicCMS FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender special elements used in a template engine vdb-entry, technical-description
- VDB-356541 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- 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 third-party-advisory
- https://github.com/sanluan/PublicCMS/issues/113 exploit, issue-tracking
- https://github.com/sanluan/PublicCMS/ product
Who found and reported it?
- anch0r (VulDB User) (reporter)
- VulDB CNA Team (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 9, 2026
- Published
- April 9, 2026, 22:45 UTC
- CVE record updated
- April 10, 2026, 13:52 UTC by VulDB
- NVD
- Deferred, last modified October 26, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect PublicCMS?
- Nov 3, 2026CVE-2026-121583 Sanluan PublicCMS: authorization bypass through a user-controlled key (IDOR)
- Nov 2, 2026CVE-2026-120319 Sanluan PublicCMS: authorization bypass through a user-controlled key (IDOR)
- Oct 13, 2026CVE-2026-110113 Sanluan PublicCMS: authorization bypass through a user-controlled key (IDOR)
- Sep 25, 2026CVE-2026-97721 Sanluan PublicCMS: authorization bypass through a user-controlled key (IDOR)
- May 17, 2026CVE-2026-8740 Sanluan PublicCMS: template injection
- May 17, 2026CVE-2026-8739 Sanluan PublicCMS: hard-coded cryptographic key
- May 17, 2026CVE-2026-8738 Sanluan PublicCMS
- May 17, 2026CVE-2026-8737 Sanluan PublicCMS: missing authentication for a critical function
Questions about CVE-2026-5987
Is CVE-2026-5987 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Sanluan PublicCMS are affected by CVE-2026-5987?
PublicCMS 4.0.202506.a, PublicCMS 4.0.202506.b, PublicCMS 5.202506.a, PublicCMS 5.202506.b, PublicCMS 5.202506.d and PublicCMS 6.202506.d, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2026-5987?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-5987?
Medium (5.1, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-5987?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.