# CVE-2026-5987: Sanluan PublicCMS FreeMarker Template AbstractFreemarkerView.java AbstractFreemarkerView.doRender special elements used in a template engine

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-09T22:45:14.041Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-791, CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Sanluan PublicCMS: 4.0.202506.a; 4.0.202506.b; 5.202506.a; 5.202506.b; 5.202506.d; 6.202506.d

## Every score

- VulDB: CVSS:4.0 5.1 Medium `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: CVSS:3.1 4.7 Medium `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: CVSS:3.0 4.7 Medium `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: CVSS:2.0 5.8 Medium `AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/sanluan/PublicCMS/issues/113> (exploit, issue-tracking)
- <https://vuldb.com/vuln/356541> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/356541/cti> (permissions-required, signature)
- <https://vuldb.com/submit/792385> (third-party-advisory)
- <https://github.com/sanluan/PublicCMS/> (product)

## Sources

- CVE List: [CVE-2026-5987](https://www.cve.org/CVERecord?id=CVE-2026-5987), CVE Terms of Use, modified 2026-04-10
- NVD: [CVE-2026-5987](https://nvd.nist.gov/vuln/detail/CVE-2026-5987), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-5987 · Whole record: https://cve.day/CVE-2026-5987.json · Rebuilt by cve.day 2026-11-25T22:59:18.466Z
