CVE-2023-22438Network attack vector

Stored XSS via unescaped file-manager paths

Published Mar 5, 2023 · Updated Mar 7, 2025

Cross-site scripting in affected EC-CUBE 2, 3, and 4 releases allows remote authenticated users to execute script in an administrator's browser. Contents Management file-manager templates insert attacker-controlled file paths into inline JavaScript handlers and CSS URLs without context-appropriate escaping. An authenticated user must create a crafted path and an administrator must open the file-management page, where the script runs with that administrator's browser privileges.

CVSS severity5.4
Medium
EPSS probability0.69%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Cross-site scripting in affected EC-CUBE 2, 3, and 4 releases allows remote authenticated users to execute script in an administrator's browser. Contents Management file-manager templates insert attacker-controlled file paths into inline JavaScript handlers and CSS URLs without context-appropriate escaping. An authenticated user must create a crafted path and an administrator must open the file-management page, where the script runs with that administrator's browser privileges.

The record

CVE
CVE-2023-22438
Published
Mar 5, 2023
Updated
Mar 7, 2025
Vendor
EC-CUBE CO.,LTD.
Product
EC-CUBE
Classifications
CWE-79
Attack vector
network
Privileges
authenticated

Timeline

How it unfolded

  1. Mar 5, 2023CVE publishedPublication date reported by the CVE source.
  2. Mar 7, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=EC-CUBE 4.0.0 to 4.0.6-p2, EC-CUBE 4.1.0 to 4.1.2-p1, EC-CUBE 4.2.0, EC-CUBE 3.0.0 to 3.0.18-p5, EC-CUBE 2.11.0 to 2.11.5, EC-CUBE 2.12.0 to 2.12.6, EC-CUBE 2.13.0 to 2.13.5, and EC-CUBE 2.17.0 to 2.17.2

What conditions does exploitation require?

Attack vectornetwork
Required privilegesauthenticated

What is affected?

EC-CUBE CO.,LTD. · EC-CUBEversion=EC-CUBE 4.0.0 to 4.0.6-p2, EC-CUBE 4.1.0 to 4.1.2-p1, EC-CUBE 4.2.0, EC-CUBE 3.0.0 to 3.0.18-p5, EC-CUBE 2.11.0 to 2.11.5, EC-CUBE 2.12.0 to 2.12.6, EC-CUBE 2.13.0 to 2.13.5, and EC-CUBE 2.17.0 to 2.17.2

Published CVSS scores

5.4CISA-ADPCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
3.5JVNAV:N/AC:M/Au:S/C:N/I:P/A:N
5.4NISTCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
5.4JVNCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectornetwork
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo