The CSRF (Cross Site Request Forgery) token check was improperly implemented on cookie authenticated requests against some ocs API endpoints. This affects ownCloud/core version < 10.6.
https://owncloud.com/security-advisories/cross-site-request-forgery-in-the-ocs-api/