SCA: security update for laminas/laminas-form (GHSA-jq4p-mq33-w375)

medium Tenable Self-Hosted Container Security Plugin ID 416514

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2022-23598)

See Also

https://github.com/advisories/GHSA-jq4p-mq33-w375

Plugin Details

Severity: Medium

ID: 416514

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2022-23598

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/28/2022

Vulnerability Publication Date: 1/28/2022

Reference Information

CVE: CVE-2022-23598

cwe: CWE-79