{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "8.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0a2d61fff35900fc91566e6621d49959599bcb4e"
            }
          ],
          "repo": "https://github.com/os4ed/opensis-responsive-design",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A SQL injection vulnerability exists in the Take Attendance functionality of OS4Ed's OpenSIS 8.0. allows an attacker to inject their own SQL query. The cp_id_miss_attn parameter from TakeAttendance.php is vulnerable to SQL injection. An attacker can make an authenticated HTTP request as a user with access to \"Take Attendance\" functionality to trigger this vulnerability.",
  "id": "CVE-2021-40309",
  "modified": "2026-03-15T21:48:25.445464341Z",
  "published": "2021-09-24T16:15:08.417Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://github.com/OS4ED/openSIS-Classic"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/MiSERYYYYY/Vulnerability-Reports-and-Disclosures/blob/main/OpenSIS-Community-8.0.md"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.exploit-db.com/exploits/50249"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}