Formbricks before 5.4.4 and 6 before 6.0.1 allows stored XSS. The survey-level Custom Head Scripts feature did not enforce the documented Manage permission boundary. A workspace member holding only re
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Formbricks before 5.4.4 and 6 before 6.0.1 allows stored XSS. The survey-level Custom Head Scripts feature did not enforce the documented Manage permission boundary. A workspace member holding only readWrite permission could configure Custom Head Scripts on a survey, an operation the documentation restricts to the Manage role. Because the configured scripts execute in the authenticated browser session of any user who opens the affected survey, a lower-privileged member can run arbitrary JavaScript (stored cross-site scripting) in the session of higher-privileged users. Fixed versions require Manage access to modify survey Custom Head Scripts.
Text from CVE List
Affected versions 2
- Formbricksaffected: all versions before 5.4.4CVE List
- Formbricksaffected: 6.0.0 before 6.0.1CVE List
References 4
- github.com/formbricks/formbricks/releases/tag/6.0.1Fixvia CVE List
- github.com/formbricks/formbricks/releases/tag/5.4.4Fixvia CVE List
- github.com/formbricks/formbricks/pull/9432Fixvia CVE List
- sec4check.pl/blog/posts/cve-formbricks-broken-access-control-stored-xss-custom-head-scripts.htmlExploitvia CVE List