CVE-2022-23598: fedoraproject fedora Cross-site Scripting
Vulnerability summary
CVE-2022-23598 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in fedoraproject fedora. EPSS estimates a 0.99% chance of exploitation in the next 30 days, higher than 62.1% of scored vulnerabilities.
Timeline
- 28-01-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.99%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
0.00 pp
From 0.99% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Fedoraproject1 product
- fedoraEOL34 | 35
Getlaminas1 product
- laminas-form< 2.17.1 | ≥ 3.0.0, < 3.0.2 | 3.1.0
Laminas1 product
- laminas-form< 3.1.1
3 vendors · 3 products
References
5 links- github.com/laminas/laminas-form/security/advisories/GHSA-jq4p-mq33-w375X Refsource CONFIRMMitigationThird Party Advisory
- github.com/laminas/laminas-form/commit/43005a3ec4c2292d4f825273768d9b884acbca37X Refsource MISCPatchThird Party Advisory