Issue Summary
This is reproducible on Data Center: yes
Pages and blogs containing path traversal strings (../ ..\ .../ ...) cannot be saved using a close button. The 400 error shows up.
Steps to Reproduce
- Create a new template
- create a new page from template (try your custom template, blog post, other templates like DACI, etc)
- put ../ ..\ .../ ...\ in the title and body
- close the edit mode using Close button
OR
- Create a new page with ../ ..\ .../ ...\ in the body and in the title
- copy the page
- close the new page using Close button.
Expected Results
The draft should be saved.
Actual Results
The page shows 400
following endpoints are causing 400 error:
- docreateblogpost.action
- docreatepagefromtemplate.action
- docreatepage.action
Workaround
Remove ../ ..\ .../ ...\ strings from the input fields. Save the page using Publish button.
- follows
-
CONFSERVER-93655 Getting HTTP 400 while saving page by using the close button.
-
- Closed
-
-
CONFSERVER-94256 Getting HTTP 400 while saving a page template or Stylesheet
-
- Closed
-
- mentioned in
-
Page Failed to load
[CONFSERVER-95889] Getting HTTP 400 while saving page from a template or from a copy by using the close button.
Labels | Original: sec-escape security-escape | New: sec-escape |
Labels | Original: security-escape | New: sec-escape security-escape |
Fix Version/s | Original: 8.5.13 [ 108816 ] |
Fix Version/s | New: 8.5.14 [ 108954 ] |
Comment |
[ A fix for this issue is available in Confluence Data Center 9.0.1.
[Upgrade|https://www.atlassian.com/software/confluence/download-archives?utm_source=confluence_bugfix&utm_campaign=confluence_bugfix&utm_medium=email] now or check out the [Release Notes|https://confluence.atlassian.com/display/DOC/Confluence+9.0+Release+Notes?utm_source=confluence_bugfix&utm_campaign=confluence_bugfix&utm_medium=email] to see what other issues are resolved. ] |
Fix Version/s | Original: 9.0.1 [ 108911 ] | |
Fix Version/s | New: 9.0.2 [ 109029 ] |
A fix for this issue is available in Confluence Server and Data Center 9.0.2
Upgrade now or check out the Release Notes to see what other issues are resolved.