getEnvironment
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java
Last patched
Overview
getEnvironment in xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java (xwiki/xwiki-platform) was changed by 1 published CVE fix in 2026, in 2 distinct patches that added or removed 10 lines in total.
xwiki/xwiki-platform has 140 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed getEnvironment, newest first, with the lines each fix touched.
CVE-2026-34151 · lines 876–885 · +10 −0
High · CVSS 8.2EPSS 2.5%2026-09-14
Get an alert when the next CVE fix lands in xwiki/xwiki-platform, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1deleteDocumentVersionsxwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java3 patches · 1 CVE2024
- 2notifyxwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java3 patches · 1 CVE2024
- 3rollbackxwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java3 patches · 1 CVE2024
- 4getResourcexwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java2 patches · 1 CVE2026
- 5invokeServletAndReturnAsStringxwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java1 patch · 1 CVE2022
- 6validateUserxwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java1 patch · 1 CVE2021
- 7prepareDocumentsxwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java1 patch · 1 CVE2022
- 8prepareResourcesxwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java1 patch · 1 CVE2022
Other hotspots in the repository
Functions in xwiki/xwiki-platform changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to getEnvironment.
- How many CVEs have patched getEnvironment?
- 1 published CVEs changed getEnvironment in xwiki/xwiki-platform, in 2 distinct patches totalling 10 changed lines, between 2026 and 2026.
- What is the latest CVE that changed getEnvironment?
- CVE-2026-34151 (XWiki Platform: Resource path traversal via /skin/ action endpoint in Jetty 12+), published 2026-09-14, changed lines 876 to 885 of xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java.
- How does getEnvironment compare to the rest of xwiki/xwiki-platform?
- xwiki/xwiki-platform has 140 CVEs with a located fix in total; 1 of them changed getEnvironment.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java on GitHub (opens in a new tab)
- All patched functions in xwiki/xwiki-platform
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track xwiki/xwiki-platform CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.