Skip to content

Security Fix: Potential XXE Vulnerability in createDocument function#289

Open
scyt01 wants to merge 1 commit intongs-doo:masterfrom
scyt01:master
Open

Security Fix: Potential XXE Vulnerability in createDocument function#289
scyt01 wants to merge 1 commit intongs-doo:masterfrom
scyt01:master

Conversation

@scyt01
Copy link
Copy Markdown

@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