View Issue Details

IDProjectCategoryView StatusLast Update
0005770Composrcorepublic2024-09-05 18:20
ReporterPatrick SchmalstigAssigned To 
SeverityMinor-bug 
Status non-assignedResolutionopen 
Product Version11.alpha4 
Fixed in Version 
Summary0005770: Forms specifying a redirect in the action are blocked by CSP
DescriptionAny forms which specify a redirect as part of its action (such as block top login) could get blocked by Content Security Policy in Chrome and Safari due to tightened security.

We should work around this by doing an internal redirect via a redirect POST parameter.
TagsRoadmap: v11
Time estimation (hours)
Sponsorship open

Relationships

has duplicate 0005865 closedPatrick Schmalstig Forms specifying a redirect in the action are blocked by CSP 
related to 0005853 resolvedPatrick Schmalstig Internal redirects failing with Forbidden error 

Activities

admin

2024-05-19 20:43

administrator   ~0008770

Automated message: This issue was created using the Report Issue Wizard on the Composr homesite.

Chris Graham

2024-07-25 22:35

administrator   ~0008960

protect_url_parameter is supposed to be used. Also modify the function comment for protect_url_parameter, _protect_url_parameter, and comment in global2.php against INPUT_FILTER_MODSECURITY_URL_PARAMETER, to also mention browser reflected-XSS filtering.

Patrick Schmalstig

2024-09-05 18:20

administrator   ~0009282

I added several missing protect_url_parameter but I cannot consider this issue resolved because top_login was not one of them from which this issue originates.

top_login gets login URL (+ redirect) from global3.php get_login_url but this is already using protect_url_parameter. So there is another bug somewhere.

Issue History

Date Modified Username Field Change
2024-07-25 22:35 Chris Graham Note Added: 0008960
2024-07-25 22:35 Chris Graham Tag Attached: Roadmap: v11
2024-08-07 20:56 Patrick Schmalstig Relationship added related to 0005853
2024-08-09 08:12 Guest Issue cloned: 0005865
2024-08-13 01:12 Patrick Schmalstig Relationship added has duplicate 0005865
2024-09-05 18:20 Patrick Schmalstig Note Added: 0009282