Skip to main content
VulnerabilityPublished Updated

CVE-2024-40539: my-springsecurity-plus · SQL Injection

Affects my-springsecurity-plusSource CVE Database V5

0

Not known to be exploited · CVSS 6.2 Medium : upgrade to 2024.07.03 when convenient.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
6.2Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2024.07.03
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade witmy/my-springsecurity-plus to 2024.07.03.

Affected software

ProductAffectedFixed in
GitHubwitmy/my-springsecurity-pluspkg:github/witmy/my-springsecurity-plusOther threatsAffected
  • <2024.07.03
Fixed in
  • 2024.07.03

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-40539, organizations should immediately upgrade my-springsecurity-plus to version 2024.07.03 or later, where the SQL injection flaw has been fixed. In the absence of an immediate upgrade, applying input validation and sanitization on the dataScope parameter at the application level can reduce risk. Implement strict local access controls to limit which users and processes can reach the /api/user endpoint, including network segmentation and role-based access controls. Conduct thorough code reviews and penetration testing focused on SQL injection vectors in all API endpoints. Employ runtime application self-protection (RASP) or web application firewalls (WAFs) with custom rules to detect and block suspicious SQL injection payloads targeting the dataScope parameter. Monitor logs for unusual database query patterns or errors indicative of injection attempts. Finally, educate developers on secure coding practices to prevent similar vulnerabilities in future releases.

Description

my-springsecurity-plus before v2024.07.03 was discovered to contain a SQL injection vulnerability via the dataScope parameter at /api/user.

References

Community reviews

Loading reviews…