Skip to content

OWASP Java HTML Sanitizer

By OWASP Vulnerability disclosure program on Bugcrowd owasp.org

Accepting reports
Top reward
No cash rewards
Top severity paid
–
Assets in scope
1
Public CVEs
49
Last change
No changes yet

At a glance

What to know before you start testing.

No cash rewards
A disclosure program: you report for credit, not money.
Partial safe harbor
Some legal protection; read the terms.
Publish after a fix
Coordinate the timing with the company.

Rewards

What Bugcrowd lists as the payout for each severity.

This program does not pay cash rewards.

Pays cash
Yes only those that meet the following eligibility requirements may receive a monetary reward

Summarised with AI from the program policy on Bugcrowd, read 21 Nov 2026, and checked word for word against it. Read the original

Scope

1 asset you may test.

Web 1

  • https://github.com/OWASP/OWASPBugBounty/tree/master/JavaHTMLSanitizer/war-files

Rules

What the policy asks of you, and the bug types it won't reward, quoted from OWASP Java HTML Sanitizer (via Bugcrowd)'s policy. "We" in these lines means the program, not this site.

While testing

  • You must be the first reporter of a vulnerability.
  • You may not publicly disclose the vulnerability prior to our resolution.
  • When submitting a bug be sure to specify the version of the application you are using, the client the vulnerability was found on, and other unique information that might be helpful for us to reproduce the vulnerability.

Not accepted

  • Everything that is not an XSS/HTML injection
  • Descriptive error messages (e.g. Stack Traces, application or server errors).
  • Fingerprinting / banner disclosure on common/public services.
  • Clickjacking and issues only exploitable through clickjacking.
  • Logout Cross-Site Request Forgery (logout CSRF).
  • Presence of application or web browser ‘autocomplete’ or ‘save password’ functionality.
  • Lack of Secure/HTTPOnly flags on non-sensitive Cookies.
  • Lack of Security Speedbump when leaving the site.
  • Weak Captcha / Captcha Bypass
  • Forgot Password page brute force and account lockout not enforced.
  • Username / email enumeration
  • Missing HTTP security headers
  • SSL Issues

Summarised with AI from the program policy on Bugcrowd, read 21 Nov 2026, and checked word for word against it. Read the original

Changes

Tracked since 18 Nov 2026. Last checked 27 minutes ago.

No changes yet. When the rewards or scope move, you will see it here and in the RSS feed.

Public CVEs

Published vulnerabilities in this vendor's products, from the NVD.

Search NVD
CVESeverityPublished
CVE-2026-52747 High 8.6 10 Jul 2026
CVE-2026-52761 Medium 5.8 10 Jul 2026
CVE-2026-42268 High 8.2 12 May 2026
CVE-2026-30923 High 8.2 5 May 2026
CVE-2026-40316 High 8.8 15 Apr 2026
CVE-2026-33691 Medium 6.8 2 Apr 2026
CVE-2026-3816 Low 2.1 9 Mar 2026
CVE-2026-21876 Critical 9.3 8 Jan 2026
CVE-2025-66022 Critical 9.6 26 Nov 2025
CVE-2025-66021 High 8.6 26 Nov 2025
CVE-2025-54571 Medium 6.9 6 Aug 2025
CVE-2025-48866 High 7.5 2 Jun 2025
CVE-2023-48171 High 8.8 12 Aug 2024
CVE-2024-1019 High 8.6 30 Jan 2024
CVE-2024-23686 Medium 5.3 19 Jan 2024
CVE-2023-38285 High 7.5 26 Jul 2023
CVE-2023-38199 Critical 9.8 13 Jul 2023
CVE-2023-28882 High 7.5 28 Apr 2023
CVE-2022-48279 High 7.5 20 Jan 2023
CVE-2021-4247 Medium 4.3 18 Dec 2022
CVE-2022-39350 Medium 5.4 25 Oct 2022
CVE-2022-39351 Medium 4.4 25 Oct 2022
CVE-2022-39955 High 7.3 20 Sep 2022
CVE-2022-39956 High 7.3 20 Sep 2022
CVE-2022-39957 High 7.3 20 Sep 2022
CVE-2022-39958 High 7.5 20 Sep 2022
CVE-2020-22669 Critical 9.8 2 Sep 2022
CVE-2022-24891 Medium 5.4 27 Apr 2022
CVE-2022-23457 High 7.5 25 Apr 2022
CVE-2022-27820 Medium 4.0 24 Mar 2022
CVE-2021-42717 High 7.5 7 Dec 2021
CVE-2021-35368 Critical 9.8 5 Nov 2021
CVE-2021-42575 Critical 9.8 18 Oct 2021
CVE-2021-28490 High 8.8 19 Aug 2021
CVE-2010-3300 Medium 5.9 22 Jun 2021
CVE-2019-25043 Medium 5.3 6 May 2021
CVE-2021-23899 Critical 9.8 13 Jan 2021
CVE-2021-23900 High 7.5 13 Jan 2021
CVE-2020-15598 High 7.5 6 Oct 2020
CVE-2020-13973 Medium 6.1 9 Jun 2020
CVE-2019-19886 High 7.5 21 Jan 2020
CVE-2019-1020007 Medium 5.4 29 Jul 2019
CVE-2018-16384 High 7.5 3 Sep 2018
CVE-2018-13065 Medium 6.1 3 Jul 2018
CVE-2018-12036 High 7.8 7 Jun 2018
CVE-2013-5679 Low 2.6 30 Sep 2013
CVE-2013-5960 Medium 5.8 30 Sep 2013
CVE-2007-4385 Medium 6.8 17 Aug 2007
CVE-2006-3841 Low 2.6 25 Jul 2006

Original policy

Copied from bugcrowd.com on 19 Nov 2026. The summaries on this page are made from it; the live page may have changed since.

Description

OWASP supports many volunteers efforts to produce security libraries which at the same time are used by many companies and developers, in order to secure their applications. This bounty program for Java HTML Sanitizer project run by OWASP is to determine the protection level claimed by the library and verify that indeed the protected application is not vulnerable to XSS attacks when using the library. Rewards OWASP may provide rewards to eligible reporters of qualifying vulnerabilities. Report Template Please be aware that the quality of your report is critical to your submission. To ensure that we are able to understand what you are reporting and the potential impact, please make sure your report contains the following items: What type of issue are you reporting? Does it align to the scoped issue? How does a user reproduce your issue? (If this contains more than a few steps, please create a video so we can attempt to perform the same steps). What is the impact of your issue? What are some scenarios where an attacker would be able to leverage this vulnerability? What would be your suggested fix? Eligibility and Responsible Disclosure We are happy to thank everyone who submits valid reports which help us improve the security of OWASP! However, only those that meet the following eligibility requirements may receive a monetary reward: You must be the first reporter of a vulnerability. The vulnerability must be a qualifying vulnerability (see below) associated with a site or application in scope (see above). We can’t be legally prohibited from rewarding you (for example, you can’t be a resident of or located within Cuba, Sudan, North Korea, Iran or Syria, a national of other certain countries, or on a denied parties or sanctions list). You may not publicly disclose the vulnerability prior to our resolution. About the OWASP HTML Sanitizer Project The OWASP HTML Sanitizer is a fast and easy to configure HTML Sanitizer written in Java which lets you include HTML authored by third-parties in your web application while protecting against XSS. The existing dependencies are on guava and JSR 305. The other jars are only needed by the test suite. The JSR 305 dependency is a compile-only dependency, only needed for annotations. This code was written with security best practices in mind, has an extensive test suite, and has undergone adversarial security review. A great place to get started using the OWASP Java HTML Sanitizer is here: https://github.com/OWASP/java-html-sanitizer/blob/master/docs/getting_started.md . Getting Started Guide

Targets

Access & Reporting Please, make sure to follow the instructions to obtain a copy of the web application secured by OWASP Java HTML Sanitizer project here: https://github.com/OWASP/OWASPBugBounty/tree/master/JavaHTMLSanitizer . When submitting a bug be sure to specify the version of the application you are using, the client the vulnerability was found on, and other unique information that might be helpful for us to reproduce the vulnerability. Scope The OWASP Java HTML Sanitizer protects ONLY against XSS attacks, therefore the main purpose of the bounty is to attack the application only against these type of vulnerabilities. Access To access the application please go to https://github.com/OWASP/OWASPBugBounty/tree/master/JavaHTMLSanitizer All the instructions on running the web app in your environment are provided in here. Credentials No credentials are necessary to login to the application. It runs a simple HTML form with different fields protected by the OWASP Sanitizer project. Focus Areas The following policies have been configured in this application and therefore you should focus on attacking the application with XSS attacks that Attempt to inject HTML code, whether in plain text or encoded Attempt to inject Javascript code into the fields, whether plain text or encoded Out-of-Scope Any type of attack with exception of XSS The following finding types are specifically excluded from the bounty: Everything that is not an XSS/HTML injection such as Descriptive error messages (e.g. Stack Traces, application or server errors). Fingerprinting / banner disclosure on common/public services. Clickjacking and issues only exploitable through clickjacking. Logout Cross-Site Request Forgery (logout CSRF). Presence of application or web browser ‘autocomplete’ or ‘save password’ functionality. Lack of Secure/HTTPOnly flags on non-sensitive Cookies. Lack of Security Speedbump when leaving the site. Weak Captcha / Captcha Bypass Forgot Password page brute force and account lockout not enforced. Username / email enumeration via Login Page error message via Forgot Password error message Missing HTTP security headers, specifically ( https://owasp.org/www-project-secure-headers/ ), e.g. Strict-Transport-Security X-Frame-Options X-XSS-Protection X-Content-Type-Options Content-Security-Policy, X-Content-Security-Policy, X-WebKit-CSP Content-Security-Policy-Report-Only SSL Issues, e.g. SSL Attacks such as BEAST, BREACH, Renegotiation attack SSL Forward secrecy not enabled SSL weak / insecure cipher suites

Additional information

This bounty requires explicit permission to disclose the results of a submission.