[ 
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

   ## [![Quality Gate 
Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png
 'Quality Gate 
Failed')](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1642) 
**Quality Gate failed**  
   Failed conditions  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/failed-16px.png
 '') [66.7% Coverage on New 
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1642&metric=new_coverage&view=list)
 (required ≥ 80%)  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/failed-16px.png
 '') [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)
   
   ##   
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/light_bulb-16px.png
 '') Catch issues before they fail your Quality Gate with our IDE extension 
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/sonarlint-16px.png
 '') [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)

Reply via email to