GitHub Advisoryadvisory · Packagist

GHSA-4v57-pwvf-x35j Zendframework potential Cross-site Scripting vector in `Zend_Service_ReCaptcha_MailHide`

MEDIUM Published 2024-06-07 Modified 2024-06-07 Official page ↗
Ecosystem
Packagist
Packages
zendframework/zendframework1
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2024-06-07

Affected packages

• Packagist zendframework/zendframework1: >= 1.7.0, < 1.7.9 → fixed in 1.7.9 • Packagist zendframework/zendframework1: >= 1.8.0, < 1.8.5 → fixed in 1.8.5 • Packagist zendframework/zendframework1: >= 1.9.0, < 1.9.7 → fixed in 1.9.7

Description

`Zend_Service_ReCaptcha_MailHide` had a potential XSS vulnerability. Due to the fact that the email address was never validated, and because its use of `htmlentities()` did not include the encoding argument, it was potentially possible for a malicious user aware of the issue to inject a specially crafted multibyte string as an attack via the CAPTCHA's email argument

Related

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References