CVE-2022-23598

Summary

CVECVE-2022-23598
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-01-28 22:15:00 UTC
Updated2023-11-07 03:44:00 UTC
Descriptionlaminas-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.

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Application Getlaminas Laminas-form All All All All
Application Getlaminas Laminas-form 3.1.0 All All All

References

ReferenceSourceLinkTags
[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

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)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report