Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable DTD parsing to avoid XXEs #752

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Xiqinger
Copy link

Description

Fixes a potential XXE vulnerabilities in the codebase.

The risk of exploiting these vulnerabilities is considered very low, as some of the content originates from configuration settings. However, following the principle of least privilege, it is advisable to disable DTD if it does not impact functionality.

The patch is directly based on the OWASP cheat sheet.
https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html

Instructions for Reviewers
Determine if there are any XML files that require support for external entity parsing.

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.

1 participant