CVE-2024-40541: my-springsecurity-plus · SQL Injection
Affects my-springsecurity-plusSource CVE Database V5
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
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% 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:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
GitHubwitmy/my-springsecurity-pluspkg:github/witmy/my-springsecurity-plusOther threats | Affected
| Fixed in
|
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-40541, organizations should upgrade my-springsecurity-plus to version 2024.07.03 or later, where the vulnerability has been addressed. In the absence of an official patch, applying input validation and sanitization on the dataScope parameter at the application level can reduce risk. Employ parameterized queries or prepared statements to prevent SQL injection. Restrict local access to the vulnerable systems by enforcing strict network segmentation and access controls, limiting exposure to trusted users only. Monitor logs for unusual database query patterns or access attempts to the /api/dept/build endpoint. Conduct regular security assessments and code reviews focusing on input handling in API endpoints. Additionally, implement least privilege principles to minimize the impact of any local access compromise. Finally, maintain awareness of updates from the my-springsecurity-plus project for official patches or advisories.
Description
my-springsecurity-plus before v2024.07.03 was discovered to contain a SQL injection vulnerability via the dataScope parameter at /api/dept/build.