[
https://issues.apache.org/jira/browse/WW-5753?focusedWorklogId=1045233&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1045233
]
ASF GitHub Bot logged work on WW-5753:
--------------------------------------
Author: ASF GitHub Bot
Created on: 01/Oct/26 18:48
Start Date: 01/Oct/26 18:48
Worklog Time Spent: 10m
Work Description: sonarqubecloud[bot] commented on PR #1984:
URL: https://github.com/apache/struts/pull/1984#issuecomment-5938280859
## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1984)
**Quality Gate passed**
Issues
 [1 New
issue](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1984&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted
issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1984&issueStatuses=ACCEPTED)
Measures
 [0 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=1984&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [100.0% Coverage on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1984&metric=new_coverage&view=list)
 [0.0% Duplication on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1984&metric=new_duplicated_lines_density&view=list)
<!
Issue Time Tracking
-------------------
Worklog Id: (was: 1045233)
Time Spent: 40m (was: 0.5h)
> Reject cross-site non-GET navigations and cross-site GET subresource requests
> in the Fetch Metadata policy
> ----------------------------------------------------------------------------------------------------------
>
> Key: WW-5753
> URL: https://issues.apache.org/jira/browse/WW-5753
> Project: Struts 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.3.0
> Reporter: Gouri Sankar A
> Priority: Major
> Fix For: 6.13.0, 7.5.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> StrutsResourceIsolationPolicy accepts a cross-site request when it is a
> navigation or a GET. The documented policy and the Fetch Metadata reference
> policy require a navigation and a GET, so a cross-site form POST and
> cross-site GET fetch(), script and img requests pass.
> FetchMetadataInterceptor is enabled in the defaultStack.
> The check should combine the navigation and method conditions with &&.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)