GHSA-2vh3-cj9j-mcj5: eZ Publish Legacy Cross-site Scripting (XSS) in 'disabled module' error template
Noroxi assessment
Priority: Monitor (action score 0/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Fixed version: ezsystems/ezpublish-legacy (Packagist) 2017.12.4.2, 2018.6.1.3, 2018.9.1.2.
Low priority for now. Upgrade to ezsystems/ezpublish-legacy (Packagist) 2017.12.4.2, 2018.6.1.3, 2018.9.1.2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: OSV
This security advisory fixes a vulnerability in eZ Publish Legacy, and we recommend that you install it as soon as possible if you are using Legacy via the LegacyBridge. Installations where all modules are disabled may be vulnerable to XSS injection in the module name. This is a rare configuration, but we still recommend installing the update, which adds the necessary input washing. To install, use Composer to update to one of the "Resolving versions" mentioned above, or apply this patch manually: https://github.com/ezsystems/ezpublish-legacy/commit/4697bff700e8cf95d5847ea19dad3479a77b02d9
- Published
- May 15, 2024
- Updated
- Nov 29, 2024
- EPSS
- —
- CWE
- CWE-79
Report tools
Action score
0
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · —
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Limit the impact of XSSCheck security headers
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| Packagist | ezsystems/ezpublish-legacy | pkg:composer/ezsystems/ezpublish-legacy |
Limit the impact of XSS
This is a cross-site scripting (XSS) vulnerability. A well-configured Content-Security-Policy doesn't fix it, but greatly reduces its impact. Check your site's CSP and other security headers for free.
Check security headersPackage-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Packagist | ezsystems/ezpublish-legacy | from 2011.0.0 · before 2017.12.4.2 | 2017.12.4.2 |
| Packagist | ezsystems/ezpublish-legacy | from 2018.6.0 · before 2018.6.1.3 | 2018.6.1.3 |
| Packagist | ezsystems/ezpublish-legacy | from 2018.9.0 · before 2018.9.1.2 | 2018.9.1.2 |
| Packagist | ezsystems/ezpublish-legacy | from 5.3.0 · before 5.3.12.5 | 5.3.12.5 |
| Packagist | ezsystems/ezpublish-legacy | from 5.4.0 · before 5.4.12.2 | 5.4.12.2 |
Same product
Packagist: all recordsOther highest-scoring records for the same primary product.
- GHSA-39j2-4p9j-5w4jEz Platform Object Injection in legacy shop module0Monitor
- GHSA-9895-26wr-4fgvEZsystems Remote code execution in file uploads0Monitor
- GHSA-pqjm-xcp8-wgmmEz Platform and Legacy are prone to an insecure interpretation of PHP/PHAR uploads0Monitor
Published before and after this one in the same product
- ← EarlierGHSA-cc2j-92jq-wgjgMay 15, 2024 · eZ Publish Information disclosure in backend content tree menu0Monitor
- ← EarlierGHSA-82rv-45pc-v28wMay 15, 2024 · eZ Publish Legacy Patch EZSA-2018-001 for Several vulnerabilities0Monitor
- Later →GHSA-p9mp-vq4v-v5m5May 15, 2024 · eZ Publish Legacy Passwordless login for LDAP users0Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Packagist:ezsystems/ezpublish-legacy | 2017.12.4.2 | Package registry (OSV) |
| Packagist:ezsystems/ezpublish-legacy | 2018.6.1.3 | Package registry (OSV) |
| Packagist:ezsystems/ezpublish-legacy | 2018.9.1.2 | Package registry (OSV) |
| Packagist:ezsystems/ezpublish-legacy | 5.3.12.5 | Package registry (OSV) |
| Packagist:ezsystems/ezpublish-legacy | 5.4.12.2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
No CVSS vector for this record, so attack conditions can't be derived.
Root cause
User content is inserted into the page as HTML. The browser interprets the content as code rather than data.
The bug in code
The whole CWE-79 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
commentEl.innerHTML = comment.body;Fixed
commentEl.textContent = comment.body;Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (2)
- Fix✗ → ✓
- CVSS5.5 → —
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
- github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-legacy/2018-11-01-1.yaml
- github.com/ezsystems/ezpublish-legacy
- web.archive.org/web/20210614172734/http://share.ez.no/community-project/security-advisories/ezsa-2018-006-xss-vulnerability-in-disabled-module-error-template
- share.ez.no/community-project/security-advisories/ezsa-2018-006-xss-vulnerability-in-disabled-module-error-template
Vendor advisories and official records. Exploit/PoC links are deliberately left out.