---
id: CVE-2025-11981
title: >-
  The School Management System – WPSchoolPress plugin for WordPress is
  vulnerable to SQL Injection via the 'SCodes' parameter in all versions up to,
  and including, 2.2.23 due to insufficient escaping on the user supplied
  parameter and lack…
summary: >-
  The School Management System – WPSchoolPress plugin for WordPress is
  vulnerable to SQL Injection via the 'SCodes' parameter in all versions up to,
  and including, 2.2.23 due to insufficient escaping on the user supplied
  parameter and lack…
severity: medium
cvss: 4.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-89
published: '2025-11-14'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T21:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-11981'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpschoolpress/tags/2.2.9/lib/wpsp-ajaxworks.php#L1844
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpschoolpress/tags/2.2.9/lib/wpsp-ajaxworks.php#L1872
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3389346#file62'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/04bc4a20-0136-4fb4-9489-07140b2b86aa?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00307
epssPercentile: 0.21574
ingestedAt: '2026-10-07T21:54:15.037Z'
---

## Overview

The School Management System – WPSchoolPress plugin for WordPress is vulnerable to SQL Injection via the 'SCodes' parameter in all versions up to, and including, 2.2.23 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
