# CVE-2018-1999022: PEAR HTMLQuickForm version 3.2.14 contains an eval injection (CWE-95) vulnerability in HTMLQuickForm's getSubmitValue method, HTMLQuickForm…

- Severity: Critical 9.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.17%, higher than 82% of CVEs (2026-12-01)
- Published: 2018-07-23T16:00:00.000Z
- Modified: 2026-06-17T01:48:17.743Z
- Weaknesses: CWE-94
- Assigned by: mitre

## Description

PEAR HTML_QuickForm version 3.2.14 contains an eval injection (CWE-95) vulnerability in HTML_QuickForm's getSubmitValue method, HTML_QuickForm's validate method, HTML_QuickForm_hierselect's _setOptions method, HTML_QuickForm_element's _findValue method, HTML_QuickForm_element's _prepareValue method. that can result in Possible information disclosure, possible impact on data integrity and execution of arbitrary code. This attack appear to be exploitable via A specially crafted query string could be utilised, e.g. http://www.example.com/admin/add_practice_type_id[1]=fubar%27])%20OR%20die(%27OOK!%27);%20//&mode=live. This vulnerability appears to have been fixed in 3.2.15.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- html_quickform_project html_quickform: 3.2.14
- civicrm civicrm: up to 4.6.37; 5.3.0

## Every score

- NVD: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://civicrm.org/advisory/civi-sa-2018-07-remote-code-execution-in-quickform> (third-party-advisory)
- <http://blog.pear.php.net/2018/07/19/security-vulnerability-announcement-html_quickform/> (vendor-advisory)

## Sources

- CVE List: [CVE-2018-1999022](https://www.cve.org/CVERecord?id=CVE-2018-1999022), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2018-1999022](https://nvd.nist.gov/vuln/detail/CVE-2018-1999022), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-1999022 · Whole record: https://cve.day/CVE-2018-1999022.json · Rebuilt by cve.day 2026-11-25T22:57:39.062Z
