{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "01528365015d93d5ac36a5ed060003b48bab55a2"
            }
          ],
          "repo": "https://github.com/portabilis/i-educar",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fqwh-c3c8-7gwj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45057.json"
  },
  "details": "i-Educar is free, fully online school management software that can be used by school secretaries, teachers, coordinators, and area managers. A Reflected Cross-Site Scripting (XSS) vulnerability was identified in the dynamic generation of HTML fields prior to the 2.9 branch. The file located at `ieducar/intranet/include/clsCampos.inc.php` does not properly validate or sanitize user-controlled input, leading to the vulnerability. Any page that uses this implementation is vulnerable, such as `intranet/educar_curso_lst.php?nm_curso=\u003cpayload\u003e`, `intranet/atendidos_lst.php?nm_pessoa=\u003cpayload\u003e`, `intranet/educar_abandono_tipo_lst?nome=\u003cpayload\u003e`. Commit f2d768534aabc09b2a1fc8a5cc5f9c93925cb273 contains a patch for the issue.",
  "id": "CVE-2024-45057",
  "modified": "2026-04-01T23:08:33.594768733Z",
  "published": "2024-08-28T20:17:27.748Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45057.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/portabilis/i-educar/security/advisories/GHSA-fqwh-c3c8-7gwj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45057"
    },
    {
      "type": "FIX",
      "url": "https://github.com/portabilis/i-educar/commit/f2d768534aabc09b2a1fc8a5cc5f9c93925cb273"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Reflected Cross-Site Scripting in i-Educar"
}