# CVE-2021-30492: Lack of Input Validation in zendesk_api_client_php for Zendesk Subdomain

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-04-29T21:53:06.000Z
- Modified: 2024-12-02T05:55:17.026Z
- Also known as: GHSA-q348-f93x-9gx4
- Weaknesses: CWE-20, CWE-918

## Description

### Impact
Lack of input validation of the Zendesk subdomain could expose users of the library to Server Side Request Forgery (SSRF).

### Resolution
Validate the provided Zendesk subdomain to be a valid subdomain in:
* getAuthUrl
* getAccessToken

(As written by GitHub Advisory Database.)

## Affected

- zendesk/zendesk_api_client_php (Packagist): before 2.2.11

## References

- <https://github.com/zendesk/zendesk_api_client_php/security/advisories/GHSA-q348-f93x-9gx4> (web)
- <https://github.com/zendesk/zendesk_api_client_php/pull/466> (web)
- <https://github.com/zendesk/zendesk_api_client_php/commit/b451b743d9d6d81a9abf7cb86e70ec9c5332123e> (web)

## Sources

- GitHub Advisory Database: [GHSA-q348-f93x-9gx4](https://github.com/advisories/GHSA-q348-f93x-9gx4), CC-BY-4.0, modified 2024-12-02

---

Page: https://cve.day/CVE-2021-30492 · Whole record: https://cve.day/CVE-2021-30492.json · Rebuilt by cve.day 2026-11-25T22:56:32.769Z
