CVE-2024-40542: my-springsecurity-plus · n/a
Affects my-springsecurity-plusSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium : upgrade to 2024.07.03 when convenient.
Data as of 26 Oct 2026, 07:57 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2024.07.03
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation 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 2026-10-26.
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
Organizations should immediately upgrade my-springsecurity-plus to version 2024.07.03 or later, where the vulnerability is patched. If immediate upgrading is not feasible, implement strict input validation and sanitization on the dataScope parameter to prevent injection of malicious SQL code. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious SQL injection attempts targeting the /api/role?offset endpoint. Limit the privileges of accounts accessing this API to the minimum necessary to reduce potential damage from exploitation. Conduct thorough code reviews and security testing focusing on input handling in all API endpoints. Monitor logs for unusual database query patterns or failed injection attempts. Additionally, consider employing database-level protections such as parameterized queries or stored procedures to mitigate injection risks. Regularly audit and update dependencies to ensure timely application of security patches.
Description
my-springsecurity-plus before v2024.07.03 was discovered to contain a SQL injection vulnerability via the dataScope parameter at /api/role?offset.