Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade org.xwiki.commons:xwiki-commons-velocity
to version 14.10.19, 15.5.4, 15.9-rc-1 or higher.
Affected versions of this package are vulnerable to Eval Injection due to not escaping {
in the Velocity escapetool
. An attacker can inject XWiki syntax, leading to remote code execution by exploiting the HTML escaping tool's inability to escape {
.
This vulnerability can be mitigated by replacing $escapetool.html
with $escapetool.xml
in XWiki documents. Specifically, patching the Panels.PanelLayoutUpdate
document addresses this vulnerability in standard installations. Extensions that utilize the vulnerable functionality may also require patching.
<xwiki-host>/xwiki/bin/view/Panels/PanelLayoutUpdate?place=%7B%7B%2Fhtml%7D%7D%7B%7Basync%20async%3Dfalse%7D%7D%7B%7Bvelocity%7D%7D%23evaluate(%24request.eval)%7B%7B%2Fvelocity%7D%7D%7B%7B%2Fasync%7D%7D&eval=Hello%20from%20URL%20Parameter!%20I%20got%20programming%3A%20%24services.security.authorization.hasAccess(%27programming%27)