Skip to content

Fix: protect sitemap parsing from possible XXE attacks#1876

Merged
netomi merged 2 commits into
mainfrom
malowe/main/tob-21
May 27, 2026
Merged

Fix: protect sitemap parsing from possible XXE attacks#1876
netomi merged 2 commits into
mainfrom
malowe/main/tob-21

Conversation

@netomi
Copy link
Copy Markdown
Contributor

@netomi netomi commented May 27, 2026

This adds additional protection against possible XXE attacks when parsing the sitemap xml from the configured upstream service.

autumnfound and others added 2 commits May 27, 2026 08:06
Adds features and attributes to the XML factory for parsing mirror
sitemaps to prevent any sort of injection attacks. Additionally has a
few basic tests to ensure that the XML checks added are properly being
applied to the incoming data.

Assisted-by: Claude:Sonnet-4.6
Comment thread server/src/main/java/org/eclipse/openvsx/util/XmlUtil.java Dismissed
@netomi netomi merged commit e35e171 into main May 27, 2026
8 checks passed
@netomi netomi deleted the malowe/main/tob-21 branch May 27, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants