Skip to content

Java: Customizable XSS analysis#4172

Merged
aschackmull merged 4 commits into
github:mainfrom
rvermeulen:java/xss-sink-extensible
Sep 1, 2020
Merged

Java: Customizable XSS analysis#4172
aschackmull merged 4 commits into
github:mainfrom
rvermeulen:java/xss-sink-extensible

Conversation

@rvermeulen
Copy link
Copy Markdown
Contributor

This PR abstracts the sanitizer and additional taint step of the XSS analysis to enable customization.
The existing implementation is moved into a default implementation of these abstractions.

Turn the Xss sanitizer into an abstract class to support customizations
and provide a default implementation.
@rvermeulen rvermeulen requested a review from a team as a code owner August 31, 2020 14:08
Copy link
Copy Markdown
Contributor

@aschackmull aschackmull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments on the qldoc. Otherwise LGTM.

Comment thread java/ql/src/semmle/code/java/security/XSS.qll Outdated
Comment thread java/ql/src/semmle/code/java/security/XSS.qll Outdated
Comment thread java/ql/src/semmle/code/java/security/XSS.qll Outdated
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
@aschackmull aschackmull merged commit beca44e into github:main Sep 1, 2020
@rvermeulen rvermeulen deleted the java/xss-sink-extensible branch September 1, 2020 07:55
aschackmull added a commit to aschackmull/ql that referenced this pull request Oct 29, 2020
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.

2 participants