🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Harden XCTest plist parsing against external entities - #3389

Merged
baev merged 2 commits into
mainfrom
fix-cve
Jun 16, 2026
Merged

Harden XCTest plist parsing against external entities#3389
baev merged 2 commits into
mainfrom
fix-cve

Conversation

@baev

@baev baev commented Jun 15, 2026

Copy link
Copy Markdown
Member

Context

XCTest result imports no longer expand external entities declared in plist files. A crafted XCTest result could previously cause local file contents or internal HTTP responses to appear in generated test and step names when the report was built from an attacker-influenced results directory.

The XCTest reader now preserves normal Apple plist parsing while blocking external DTDs and external entity resolution. Regression coverage verifies that malicious TestName and activity Title entity references do not leak file contents into the generated Allure model.

Checklist

@baev baev added the pr:security Security vulnerability or fix label Jun 15, 2026
@github-actions

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure 2 – Pull request #3389 12m 56s Passed tests 377   Skipped tests 1 1 0 0 View

@baev
baev merged commit 788afba into main Jun 16, 2026
29 checks passed
@baev
baev deleted the fix-cve branch June 16, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:security Security vulnerability or fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants