CVE-2025-50383: Alextselegidis/easyappointments SQL Injection Vulnerability

MODERATE
Advisory Identifier: GHSA-2f28-69j7-85hf
CWE-89
Published
Advisory Summary

CVE-2025-50383 is a MODERATE sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Alextselegidis/easyappointments libraries in the Packagist ecosystem. The issue involves easy!appointments sql injection vulnerability. Remediation is available by upgrading affected packages to version 1.5.2-beta.1.

CVE-2025-50383 at a Glance

CVE Identifier CVE-2025-50383
GHSA Identifier GHSA-2f28-69j7-85hf
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Alextselegidis/easyappointments
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2025-50383

To remediate this vulnerability, upgrade all affected Alextselegidis/easyappointments dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

alextselegidis/easyappointments fixed: 1.5.2-beta.1
Upgrade alextselegidis/easyappointments to 1.5.2-beta.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for alextselegidis/easyappointments

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-50383, inspect your project dependencies for Alextselegidis/easyappointments:

inspect dependencies for alextselegidis/easyappointments

Analyze the terminal output to locate any version of Alextselegidis/easyappointments in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.2-beta.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Alextselegidis/easyappointments, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

alextselegidis Easy!Appointments v1.5.1 was discovered to contain a SQL injection vulnerability via the order_by parameter.

CVE-2025-50383 Affected Alextselegidis/easyappointments Versions

1 component(s)
Fixed Versions:
1.5.2-beta.1
Product / Package Ecosystem Affected Versions Fixed Version
alextselegidis/easyappointments
Packagist
< 1.5.2-beta.1
1.5.2-beta.1

References

Frequently Asked Questions

What is CVE-2025-50383?
CVE-2025-50383 is a security vulnerability in Alextselegidis/easyappointments involving Easy!Appointments SQL injection vulnerability under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Alextselegidis/easyappointments versions are affected?
Affected versions include releases prior to 1.5.2-beta.1 across affected packages: alextselegidis/easyappointments.
What version fixes CVE-2025-50383?
Upgrading to 1.5.2-beta.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is alextselegidis/easyappointments affected?
Yes, alextselegidis/easyappointments is affected in releases prior to 1.5.2-beta.1. Upgrade your dependency to 1.5.2-beta.1 or later.
What CWE is associated with CVE-2025-50383?
CVE-2025-50383 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.).
How can I check Packagist dependencies for CVE-2025-50383?
Run the dependency tree command: 'inspect dependencies for alextselegidis/easyappointments'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2f28-69j7-85hf",
  "modified" : "2025-08-26T21:15:02Z",
  "published" : "2025-08-26T00:31:14Z",
  "aliases" : [ "CVE-2025-50383" ],
  "summary" : "Easy!Appointments SQL injection vulnerability",
  "details" : "alextselegidis Easy!Appointments v1.5.1 was discovered to contain a SQL injection vulnerability via the order_by parameter.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "alextselegidis/easyappointments"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.2-beta.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-50383"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alextselegidis/easyappointments/commit/0f0d71cfe0692daed9aee59bc424ce2a084fd59e"
  }, {
    "type" : "WEB",
    "url" : "https://easyappointments.org"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Abdullah4eb/CVE-2025-50383"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/alextselegidis/easyappointments"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alextselegidis/easyappointments/releases/tag/1.5.2-beta.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-26T21:15:02Z",
    "nvd_published_at" : "2025-08-25T18:15:30Z"
  }
}