-
Bug
-
Resolution: Unresolved
-
Medium
-
6.6.15, 6.13.7, 6.14.4, 6.15.7, 7.0.1, 7.1.0
-
None
-
5
-
Severity 2 - Major
-
2
-
Issue Summary
Servlets require CSRF tokens for POST/PUT/DELETE requests.
But, at the same time, they do not support "no-check" headers, so it is impossible to send POST requests from JS code.
Environment
(Optional - If Applicable)
*
*
Steps to Reproduce
- Enable html macros in Confluence
- Add an html macro with JS script which sends POST request to <confluence-url>/plugins/servlet/applinks/proxy. Note: "no-check" header should be enabled
- Navigate to the page
Expected Results
JS script should get an answer from the proxied resource
Actual Results
JS script returns "403 XSRF Token missing message"
Notes
(Optional - If Necessary)
Workaround
Required, if there is no workaround please state:
Currently there is no known workaround for this behavior. A workaround will be added here when available
- was cloned as
-
CONFSERVER-59471 oauth servlets do not support "no-check" header for POST/PUT/DELETE requests
-
- Gathering Impact
-