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 applicationsLearn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.
Start learningUpgrade org.xwiki.platform:xwiki-platform-rest-server
to version 14.10.8, 15.2 or higher.
Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). The REST API allows executing all actions via POST requests and accepts text/plain
, multipart/form-data
or application/www-form-urlencoded
as content types which can be sent via regular HTML forms. With the interaction of a user with programming rights, this allows remote code execution through script macros and thus impacts the integrity, availability and confidentiality of the whole XWiki installation.
Note:
For regular cookie-based authentication, the vulnerability is mitigated by SameSite cookie restrictions but as of March 2023, these are not enabled by default in Firefox and Safari.
It is possible to check for the Origin
header in a reverse proxy to protect the REST endpoint from CSRF attacks, see the Jira issue for an example configuration.