{"answers":{"affected":"4 open source packages ship an affected version, including de.codecentric:spring-boot-admin-server. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38286 exists.","fix":"Upgrade de.codecentric:spring-boot-admin-server to a fixed version for your release line: 2.7.16 or 3.1.2.","what":"CVE-2023-38286 is a high-severity code injection vulnerability in n/a, published on 14 Jul 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-38286 and fix it if it is affected.\n\nWhat it is: CVE-2023-38286 is a high-severity code injection vulnerability in n/a, published on 14 Jul 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38286 exists.\n\nAffected packages and fixed versions:\n- de.codecentric:spring-boot-admin-server (Maven): affected all versions; fixed in 2.7.16\n- de.codecentric:spring-boot-admin-server (Maven): affected all versions; fixed in 2.7.16\n- de.codecentric:spring-boot-admin-server (Maven): affected from 3.0.0; fixed in 3.1.2\n- de.codecentric:spring-boot-admin-server (Maven): affected from 3.0.0; fixed in 3.1.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-38286/ (Markdown: https://insights.sbomify.com/CVE-2023-38286/index.md)","id":"CVE-2023-38286","markdown":"https://insights.sbomify.com/CVE-2023-38286/index.md","name":"CVE-2023-38286","record":{"aliases":["CLSA-2025-1752019357","CLSA-2025-1764029254","GHSA-7gj7-224w-vpr3","RHLW-2026-81384c14bc892e51"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Java template engine","requires_auth":"low_privilege","summary":"Attackers can bypass the Thymeleaf sandbox via crafted HTML, potentially leading to code execution in Spring Boot Admin when specific features are enabled.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"spring_boot_admin","vendor":"codecentric"},{"product":"thymeleaf","vendor":"thymeleaf"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Thymeleaf through 3.1.1.RELEASE, as used in spring-boot-admin (aka Spring Boot Admin) through 3.1.1 and other products, allows sandbox bypass via crafted HTML. This may be relevant for SSTI (Server Side Template Injection) and code execution in spring-boot-admin if MailNotifier is enabled and there is write access to environment variables via the UI.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Spring-boot-admin sandbox bypass via crafted HTML","id":"CVE-2023-38286","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":4,"n_references":1,"next":{"headline":"Not a Security Issue.","id":"CVE-2023-38288"},"packages":[{"ecosystem":"Maven","fixed":["2.7.16"],"introduced":["0"],"last_affected":[],"package":"de.codecentric:spring-boot-admin-server","purl":null,"source":"GHSA-7gj7-224w-vpr3"},{"ecosystem":"Maven","fixed":["2.7.16"],"introduced":["0"],"last_affected":[],"package":"de.codecentric:spring-boot-admin-server","purl":"pkg:maven/de.codecentric/spring-boot-admin-server","source":"GHSA-7gj7-224w-vpr3"},{"ecosystem":"Maven","fixed":["3.1.2"],"introduced":["3.0.0"],"last_affected":[],"package":"de.codecentric:spring-boot-admin-server","purl":null,"source":"GHSA-7gj7-224w-vpr3"},{"ecosystem":"Maven","fixed":["3.1.2"],"introduced":["3.0.0"],"last_affected":[],"package":"de.codecentric:spring-boot-admin-server","purl":"pkg:maven/de.codecentric/spring-boot-admin-server","source":"GHSA-7gj7-224w-vpr3"}],"prev":{"headline":"Trustwave ModSecurity 3.x before 3.0.10 has Inefficient Algorithmic Complexity.","id":"CVE-2023-38285"},"products":["n/a"],"published":"2023-07-14","related":[{"cvss_score":8.1,"headline":"Spring Boot Admins integrated notifier support allows arbitrary code execution","id":"CVE-2022-46166","kev_date_added":null,"published":"2022-12-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-10-30","vendors":["n/a"]},"summary":"Attackers can bypass the Thymeleaf sandbox via crafted HTML, potentially leading to code execution in Spring Boot Admin when specific features are enabled.","url":"https://insights.sbomify.com/CVE-2023-38286/"}