# CVE-2023-25141: JNDI injection into Apache sling-org-apache-sling-jcr-base

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2023-02-14T12:12:21.224Z
- Modified: 2026-06-17T05:40:45.710Z
- Also known as: GHSA-gvg3-83q4-rfhq
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## Description

Apache Sling JCR Base < 3.1.12 has a critical injection vulnerability when running on old JDK versions (JDK 1.8.191 or earlier) through utility functions in RepositoryAccessor. The functions getRepository and getRepositoryFromURL allow an application to access data stored in a remote location via JDNI and RMI.




Users of Apache Sling JCR Base are recommended to upgrade to Apache Sling JCR Base 3.1.12 or later, or to run on a more recent JDK.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Sling JCR Base: from 2.0.6 before 3.1.12
- org.apache.sling:org.apache.sling.jcr.base (Maven): before 3.1.12
- apache sling_jcr_base: from 2.0.6 before 3.1.12

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://sling.apache.org/news.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25141> (advisory)
- <https://github.com/apache/sling-org-apache-sling-jcr-base/commit/6ed0a030fd5f13774aff0073c55cbe3ace0153cb> (web)
- <https://github.com/apache/sling-org-apache-sling-jcr-base/commit/779d8a7dd0437a4f31de02c0d995afcf83b9904b> (web)
- <https://github.com/apache/sling-org-apache-sling-jcr-base> (package)
- <https://issues.apache.org/jira/browse/SLING-11770> (web)

## Sources

- CVE List: [CVE-2023-25141](https://www.cve.org/CVERecord?id=CVE-2023-25141), CVE Terms of Use, modified 2025-03-20
- GitHub Advisory Database: [GHSA-gvg3-83q4-rfhq](https://github.com/advisories/GHSA-gvg3-83q4-rfhq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-25141](https://nvd.nist.gov/vuln/detail/CVE-2023-25141), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-25141 · Whole record: https://cve.day/CVE-2023-25141.json · Rebuilt by cve.day 2026-11-25T22:58:21.980Z
