[
https://issues.apache.org/jira/browse/WW-5621?focusedWorklogId=1012023&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1012023
]
ASF GitHub Bot logged work on WW-5621:
--------------------------------------
Author: ASF GitHub Bot
Created on: 29/Mar/26 05:48
Start Date: 29/Mar/26 05:48
Worklog Time Spent: 10m
Work Description: sonarqubecloud[bot] commented on PR #1642:
URL: https://github.com/apache/struts/pull/1642#issuecomment-4149502645
## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1642)
**Quality Gate failed**
Failed conditions
 [66.7% Coverage on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1642&metric=new_coverage&view=list)
(required ≥ 80%)
 [C Maintainability Rating on New
Code](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1642)
(required ≥ A)
[See analysis details on SonarQube
Cloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1642)
##
 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: 1012023)
Time Spent: 20m (was: 10m)
> Harden XML parsers against Entity Expansion (Billion Laughs) attacks
> --------------------------------------------------------------------
>
> Key: WW-5621
> URL: https://issues.apache.org/jira/browse/WW-5621
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - XSLT
> Reporter: Lukasz Lenart
> Assignee: Lukasz Lenart
> Priority: Minor
> Fix For: 6.9.0, 7.2.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Defense-in-depth hardening of XML parsers. Modern JDKs (7u45+) already
> enforce a 64K entity expansion limit, so this is not an exploitable
> vulnerability — all XML sources come from the classpath, not user input.
> Changes:
> - Remove unused {{parseStringAsXML}} feature from {{StringAdapter}} to
> eliminate theoretical attack surface
> - Deprecate {{getParseStringAsXML()}} / {{setParseStringAsXML()}} for
> future removal
> - Enable {{FEATURE_SECURE_PROCESSING}} in Tiles
> {{DigesterDefinitionsReader}}
> - Add unit test verifying JDK entity expansion limit rejects Billion Laughs
> payloads
--
This message was sent by Atlassian Jira
(v8.20.10#820010)