# CVE-2023-4136: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Crafter Engine

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.40% (percentile 73, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-jfm4-3vv3-fm4v
- **Published:** 2023-08-03T13:33:10.409Z
- **Modified:** 2026-06-17T06:37:09.620Z

## Who should check

- Projects that depend on Maven package org.craftercms:crafter-engine (\>= 4.0.0, \< 4.0.3)
- Anyone running CrafterCMS \>= 4.0.0, \<= 4.0.2; \>= 3.1.0, \<= 3.1.27

## Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in CrafterCMS Engine on Windows, MacOS, Linux, x86, ARM, 64 bit allows Reflected XSS.This issue affects CrafterCMS: from 4.0.0 through 4.0.2, from 3.1.0 through 3.1.27.

## Affected and fixed versions

- Maven `org.craftercms:crafter-engine`: affected \>= 4.0.0, \< 4.0.3; fixed 4.0.3, 3.1.28 (osv)
- CrafterCMS: \>= 4.0.0, \<= 4.0.2; \>= 3.1.0, \<= 3.1.27 (cvelist)

## Mitigation

- Upgrade org.craftercms:crafter-engine to one of 4.0.3, 3.1.28 (or later in the same release line).
- Vendor workaround: \*  Add a WAF to inspect and filter these types of attacks
-   \*  Disable external access to these APIs if not in active use by the rendering application

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-4136. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-4136.md
Affected: org.craftercms:crafter-engine >= 4.0.0, < 4.0.3
Fixed in: 4.0.3, 3.1.28

Steps:
1. Search this machine and project for org.craftercms:crafter-engine (Maven), CrafterCMS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-4136 being exploited?

There is no confirmed exploitation: CVE-2023-4136 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.40% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-4136?

High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2023-4136?

org.craftercms:crafter-engine \>= 4.0.0, \< 4.0.3.

### Is there a fix for CVE-2023-4136?

Yes. Fixed in 4.0.3, 3.1.28. Upgrade org.craftercms:crafter-engine to one of 4.0.3, 3.1.28 (or later in the same release line). Vendor workaround: \*  Add a WAF to inspect and filter these types of attacks   \*  Disable external access to these APIs if not in active use by the rendering application

### How do I check if I'm affected by CVE-2023-4136?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-4136>
- exploit: <http://packetstormsecurity.com/files/174304/CrafterCMS-4.0.2-Cross-Site-Scripting.html>
- other: <https://docs.craftercms.org/en/4.0/security/advisory.html#cv-2023080301>
- other: <http://seclists.org/fulldisclosure/2023/Aug/30>
- other: <https://github.com/craftercms/engine>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-4136>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jfm4-3vv3-fm4v> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-4136> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-4136>
