> CVE-2022-23598 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2022-01-28 22:15
MODIFIED
2024-11-21 06:48
CVSS_SCORE V3
6.1
EPSS (Prob. Exploit)
0.99%
Top 37.3%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> 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.

> AFFECTED_PRODUCTS

Fedoraproject - Fedora
Version: 34
Fedoraproject - Fedora
Version: 35
Getlaminas - Laminas Form
< 2.17.1
Getlaminas - Laminas Form
>= 3.0.0 < 3.0.2
Getlaminas - Laminas Form
Version: 3.1.0

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-jq4p-mq33-w375 MODERATE

Cross-site Scripting when rendering error messages in laminas-form

AFFECTED PACKAGES:
COMPOSER / laminas/laminas-form
< 2.17.1
Fixed in: 2.17.1
COMPOSER / laminas/laminas-form
>= 3.0.0, < 3.0.2
Fixed in: 3.0.2
COMPOSER / laminas/laminas-form
>= 3.1.0, < 3.1.1
Fixed in: 3.1.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Reflected XSS vulnerability when rendering error messages in laminas-form

AFFECTED PACKAGES:
Unknown / Unknown
6 versions affected
ALIASES:
GHSA-jq4p-mq33-w375

> HISTORIQUE DES MODIFICATIONS

Première apparition
28/01/2022 22:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:32
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME