GHSA-jq4p-mq33-w375 · Severity: medium · Ecosystem: composer — Cross-site Scripting when rendering error messages in laminas-form
laminas-form is a package for validating and displaying simple and complex forms. When rendering validation error messages via the `formElementErrors()` view helper shipped with laminas-form, many messages will contain the submitted value. However, in laminas-form prior to version 3.1.1, the value was not being escaped for HTML contexts, which could potentially lead to a reflected cross-site scripting attack. Versions 3.1.1 and above contain a patch to mitigate the vulnerability. A workaround is available. One may manually place code at the top of a view script where one calls the `formElementErrors()` view helper. More information about this workaround is available on the GitHub Security Advisory.
Conclusion & alert: CVE-2022-23598 is rated Moderate Risk (43.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.34%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-01-19 | 0.38% | 0.34% | -0.05% |
| 2 | 2025-04-11 | 0.24% | 0.38% | +0.14% |
| 3 | 2025-04-04 | — | 0.24% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-jq4p-mq33-w375 · Severity: medium · Ecosystem: composer — Cross-site Scripting when rendering error messages in laminas-form
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| getlaminas | laminas-form | < 2.17.1 | cpe:2.3:a:getlaminas:laminas-form:*:*:*:*:*:*:*:* |
| getlaminas | laminas-form | >= 3.0.0, < 3.0.2 | cpe:2.3:a:getlaminas:laminas-form:*:*:*:*:*:*:*:* |
| getlaminas | laminas-form | 3.1.0 | cpe:2.3:a:getlaminas:laminas-form:3.1.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |