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

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-06-07T21:59:20.000Z
- Modified: 2024-06-07T21:59:20.000Z
- Weaknesses: CWE-79

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

(As written by GitHub Advisory Database.)

## Affected

- zendframework/zendframework1 (Packagist): from 1.7.0 before 1.7.9; from 1.8.0 before 1.8.5; from 1.9.0 before 1.9.7

## References

- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2010-05.yaml> (web)
- <https://github.com/zendframework/zf1> (package)
- <https://web.archive.org/web/20210411002217/https://framework.zend.com/security/advisory/ZF2010-05> (web)

## Sources

- GitHub Advisory Database: [GHSA-4v57-pwvf-x35j](https://github.com/advisories/GHSA-4v57-pwvf-x35j), CC-BY-4.0, modified 2024-06-07

---

Page: https://cve.day/GHSA-4v57-pwvf-x35j · Whole record: https://cve.day/GHSA-4v57-pwvf-x35j.json · Rebuilt by cve.day 2026-11-25T22:56:31.085Z
