Skip to content

Conversation

@scyt01
Copy link

@scyt01 scyt01 commented Aug 13, 2025

This PR addresses a potential vulnerability in the createDocument() function in XmlConverter.java that could lead to XML External Entity (XXE) attacks because it does not set the XMLConstants.ACCESS_EXTERNAL_DTD or XMLConstants.ACCESS_EXTERNAL_SCHEMA attributes to restrict access to external resources. This issue was originally reported and resolved in the repository via this commit soartech/jsoar@ae6a2ec.

Fix

  • Restrict Access to External Document Type Definitions (DTDs) and Schemas

References
CWE-611: Improper Restriction of XML External Entity Reference
soartech/jsoar@ae6a2ec

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