[
https://issues.apache.org/jira/browse/WW-5504?focusedWorklogId=982154&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-982154
]
ASF GitHub Bot logged work on WW-5504:
--------------------------------------
Author: ASF GitHub Bot
Created on: 07/Sep/25 08:01
Start Date: 07/Sep/25 08:01
Worklog Time Spent: 10m
Work Description: sonarqubecloud[bot] commented on PR #1174:
URL: https://github.com/apache/struts/pull/1174#issuecomment-3263572351
## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1174)
**Quality Gate failed**
Failed conditions
 [22 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=1174&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [42.3% Coverage on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1174&metric=new_coverage&view=list)
(required ≥ 80%)
 [3.4% Duplication on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1174&metric=new_duplicated_lines_density&view=list)
(required ≤ 3%)
 [E Security Rating on New
Code](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1174)
(required ≥ A)
 [E Reliability Rating on New
Code](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1174)
(required ≥ A)
[See analysis details on SonarQube
Cloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1174)
##
 Catch issues before they fail your Quality Gate with our IDE extension
 [SonarQube for
IDE](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request)
Issue Time Tracking
-------------------
Worklog Id: (was: 982154)
Time Spent: 2h 10m (was: 2h)
> CSP Nonce changes within a page
> -------------------------------
>
> Key: WW-5504
> URL: https://issues.apache.org/jira/browse/WW-5504
> Project: Struts 2
> Issue Type: Bug
> Components: Core Interceptors
> Affects Versions: 6.7.0
> Reporter: Andreas Sachs
> Assignee: Lukasz Lenart
> Priority: Major
> Fix For: 6.8.0, 7.1.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Sometimes the CSP nonce changes within a page.
>
> <script type="text/javascript" src="..." nonce="A"> </script>
> <script type="text/javascript" src="..." nonce="A"> </script>
> ...
> <script type="text/javascript" src="..." nonce="B"> </script>
>
> This happens if there are concurrent requests within the same session.
>
> Each request stores a new nonce in the session:
>
> DefaultCspSettings:
> request.getSession().setAttribute("nonce", nonceValue);
>
> If the first request is not finished, the second request will change the
> nonce of the first request.
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)