Skip to content

Commit adff2cc

Browse files
glyedabrtadriendupuis
committed
IBX-9794: Warn about Code block access (#2791)
* Warn about Code block access * Apply suggestions from code review --------- Co-authored-by: Tomasz Dąbrowski <[email protected]> Co-authored-by: Adrien Dupuis <[email protected]>
1 parent e531aa3 commit adff2cc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/infrastructure_and_maintenance/security/security_checklist.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,13 @@ Reduce your attack surface by exposing only what you must.
144144
- { path: ^/search, roles: ROLE_USER}
145145
```
146146

147+
### Limit access to Code blocks
148+
149+
The [Code block]([[= user_doc =]]/content_management/block_reference/#code-block) in Page Builder is designed to accept any HTML, which includes embedded JavaScript.
150+
This means that editors who have access to Code blocks could add malicious JS including [cross site scripting (XSS)](https://en.wikipedia.org/wiki/Cross-site_scripting).
151+
As site administrator, be aware of this when giving editors access to the Page Builder features, and limit that access only to trusted editors.
152+
You can [limit access to specific blocks per content type]([[= user_doc =]]/content_management/configure_ct_field_settings/#default-configuration-of-pages) by defining which page blocks are available to editors.
153+
147154
## Symfony
148155

149156
### `APP_SECRET` and other secrets

0 commit comments

Comments
 (0)