-
Notifications
You must be signed in to change notification settings - Fork 99
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
sandbox document() and <exsl:document> #2053
Labels
Milestone
Comments
xworld21
changed the title
control document() and <exsl:document>
sandbox document() and <exsl:document>
Jul 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is just attaching an issue to #1951. A user can call
<exsl:document>
anddocument()
in a stylesheet, which raises two issues:document()
can read from anywhere (even the network); postprocessing can be made safe against malicious input, since it does not allow arbitrary code execution, so it makes sense to sandboxdocument()
;<exsl:document>
can generate text, HTML, XML files, but it will do so relative to the current working folder rather than the destination directory (which would enable postprocessing to generate customizable XML manifests for instance).#1951 addresses both.
Edit: changed title to emphasise the underlying security issue.
The text was updated successfully, but these errors were encountered: