CVE-2022-23598
Summary
| CVE | CVE-2022-23598 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-01-28 22:15:00 UTC |
| Updated | 2023-11-07 03:44:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [SECURITY] Fedora 34 Update: php-laminas-form-2.17.1-1.fc34 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| [SECURITY] Fedora 35 Update: php-laminas-form-2.17.1-1.fc35 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| Reflected XSS vulnerability when rendering error messages in laminas-form · Advisory · laminas/laminas-form · GitHub |
CONFIRM |
github.com |
|
| Merge pull request from GHSA-jq4p-mq33-w375 · laminas/laminas-form@43005a3 · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 35 Update: php-laminas-form-2.17.1-1.fc35 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 34 Update: php-laminas-form-2.17.1-1.fc34 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Security Advisories - Laminas Project - Enterprise PHP Framework |
MISC |
getlaminas.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 282354 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-c138fbb8e0)
- 282355 Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-a42e97d8e8)