Skip to main content
VulnerabilityPublished Updated

CVE-2024-40541: 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.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: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-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.

References

Community reviews

Loading reviews…