{"id":"2650ea1c-eb2e-4323-b32b-371f5ccf25f5","engagementId":"5da4b8d5-7252-4d63-b889-4d4738a16848","data":{"brief":{"id":"eb22759a-348d-4d26-92db-b46d4c3e30e7","name":"OWASP Java HTML Sanitizer","tagline":"OWASP Java HTML Sanitizer Project","description":"\u003cp\u003eOWASP 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.\u003c/p\u003e\n\n\u003ch1\u003eRewards\u003c/h1\u003e\n\n\u003cp\u003eOWASP may provide rewards to eligible reporters of qualifying vulnerabilities.\u003c/p\u003e\n\n\u003ch1\u003eReport Template\u003c/h1\u003e\n\n\u003cp\u003ePlease 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:\u003c/p\u003e\n\n\u003cul\u003e\n\u003cli\u003eWhat type of issue are you reporting? Does it align to the scoped issue?\u003c/li\u003e\n\u003cli\u003eHow 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).\u003c/li\u003e\n\u003cli\u003eWhat is the impact of your issue?\u003c/li\u003e\n\u003cli\u003eWhat are some scenarios where an attacker would be able to leverage this vulnerability?\u003c/li\u003e\n\u003cli\u003eWhat would be your suggested fix?\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch1\u003eEligibility and Responsible Disclosure\u003c/h1\u003e\n\n\u003cp\u003eWe 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: \u003c/p\u003e\n\n\u003cul\u003e\n\u003cli\u003eYou must be the first reporter of a vulnerability. \u003c/li\u003e\n\u003cli\u003eThe vulnerability must be a qualifying vulnerability (see below) associated with a site or application in scope (see above).\u003c/li\u003e\n\u003cli\u003eWe 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). \u003c/li\u003e\n\u003cli\u003eYou may not publicly disclose the vulnerability prior to our resolution.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch1\u003eAbout the OWASP HTML Sanitizer Project\u003c/h1\u003e\n\n\u003cp\u003eThe 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: \u003ca href=\"https://github.com/OWASP/java-html-sanitizer/blob/master/docs/getting_started.md\" rel=\"nofollow noreferrer\" target=\"_blank\"\u003ehttps://github.com/OWASP/java-html-sanitizer/blob/master/docs/getting_started.md\u003c/a\u003e.\u003c/p\u003e\n\n\u003ch3\u003e\u003ca href=\"https://www.owasp.org/index.php/Get_Started_with_OWASP_Bug_Bounty\" rel=\"nofollow noreferrer\" target=\"_blank\"\u003eGetting Started Guide\u003c/a\u003e\u003c/h3\u003e","industryTagId":null,"targetsOverview":"\u003ch3\u003eAccess \u0026amp; Reporting\u003c/h3\u003e\n\n\u003cp\u003ePlease, make sure to follow the instructions to obtain a copy of the web application secured by OWASP Java HTML Sanitizer project here: \u003ca href=\"https://github.com/OWASP/OWASPBugBounty/tree/master/JavaHTMLSanitizer\" rel=\"nofollow noreferrer\" target=\"_blank\"\u003ehttps://github.com/OWASP/OWASPBugBounty/tree/master/JavaHTMLSanitizer\u003c/a\u003e. 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.\u003c/p\u003e\n\n\u003ch3\u003eScope\u003c/h3\u003e\n\n\u003cp\u003eThe 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.\u003c/p\u003e\n\n\u003ch3\u003eAccess\u003c/h3\u003e\n\n\u003cp\u003eTo access the application please go to\u003c/p\u003e\n\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https://github.com/OWASP/OWASPBugBounty/tree/master/JavaHTMLSanitizer\" rel=\"nofollow noreferrer\" target=\"_blank\"\u003ehttps://github.com/OWASP/OWASPBugBounty/tree/master/JavaHTMLSanitizer\u003c/a\u003e\nAll the instructions on running the web app in your environment are provided in here.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eCredentials\u003c/h3\u003e\n\n\u003cp\u003eNo credentials are necessary to login to the application. It runs a simple HTML form with different fields protected by the OWASP Sanitizer project.\u003c/p\u003e\n\n\u003ch3\u003eFocus Areas\u003c/h3\u003e\n\n\u003cp\u003eThe following policies have been configured in this application and therefore you should focus on attacking the application with XSS attacks that\u003c/p\u003e\n\n\u003cul\u003e\n\u003cli\u003eAttempt to inject HTML code, whether in plain text or encoded\u003c/li\u003e\n\u003cli\u003eAttempt to inject Javascript code into the fields, whether plain text or encoded\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eOut-of-Scope\u003c/h3\u003e\n\n\u003cul\u003e\n\u003cli\u003eAny type of attack with exception of XSS\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eThe following finding types are specifically excluded from the bounty:\u003c/h3\u003e\n\n\u003cp\u003eEverything that is not an XSS/HTML injection such as\u003c/p\u003e\n\n\u003cul\u003e\n\u003cli\u003eDescriptive error messages (e.g. Stack Traces, application or server errors).\u003c/li\u003e\n\u003cli\u003eFingerprinting / banner disclosure on common/public services.\u003c/li\u003e\n\u003cli\u003eClickjacking and issues only exploitable through clickjacking.\u003c/li\u003e\n\u003cli\u003eLogout Cross-Site Request Forgery (logout CSRF).\u003c/li\u003e\n\u003cli\u003ePresence of application or web browser ‘autocomplete’ or ‘save password’ functionality.\u003c/li\u003e\n\u003cli\u003eLack of Secure/HTTPOnly flags on non-sensitive Cookies.\u003c/li\u003e\n\u003cli\u003eLack of Security Speedbump when leaving the site.\u003c/li\u003e\n\u003cli\u003eWeak Captcha / Captcha Bypass\u003c/li\u003e\n\u003cli\u003eForgot Password page brute force and account lockout not enforced.\u003c/li\u003e\n\u003cli\u003eUsername / email enumeration\n\n\u003cul\u003e\n\u003cli\u003evia Login Page error message\u003c/li\u003e\n\u003cli\u003evia Forgot Password error message\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003eMissing HTTP security headers, specifically (\u003ca href=\"https://owasp.org/www-project-secure-headers/\" rel=\"nofollow noreferrer\" target=\"_blank\"\u003ehttps://owasp.org/www-project-secure-headers/\u003c/a\u003e), e.g.\n\n\u003cul\u003e\n\u003cli\u003eStrict-Transport-Security\u003c/li\u003e\n\u003cli\u003eX-Frame-Options\u003c/li\u003e\n\u003cli\u003eX-XSS-Protection\u003c/li\u003e\n\u003cli\u003eX-Content-Type-Options\u003c/li\u003e\n\u003cli\u003eContent-Security-Policy, X-Content-Security-Policy, X-WebKit-CSP\u003c/li\u003e\n\u003cli\u003eContent-Security-Policy-Report-Only\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003eSSL Issues, e.g.\n\n\u003cul\u003e\n\u003cli\u003eSSL Attacks such as BEAST, BREACH, Renegotiation attack\u003c/li\u003e\n\u003cli\u003eSSL Forward secrecy not enabled\u003c/li\u003e\n\u003cli\u003eSSL weak / insecure cipher suites\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003c/ul\u003e","safeHarborStatus":{"status":"partial","label":"Partial safe harbor","description":"This engagement provides a limited goodwill statement about not pursuing legal action related to security research."},"collaborationEnabled":true,"additionalInformation":"\u003cp\u003e\u0026lt;b\u0026gt;This bounty requires explicit permission to disclose the results of a submission.\u0026lt;/b\u0026gt;\u003c/p\u003e"},"scope":[{"id":"fcca5f25-5e22-4bba-b633-8b7d9925b15e","name":"In scope","targets":[{"id":"0927ad39-816b-4592-9fd1-04963f4f6b2f","uri":"https://github.com/OWASP/OWASPBugBounty/tree/master/JavaHTMLSanitizer/war-files","name":"https://github.com/OWASP/OWASPBugBounty/tree/master/JavaHTMLSanitizer/war-files","category":"other","ipAddress":null,"description":null,"engagementBriefTargetGroupTarget":{"id":"ccbd308e-73f8-4bb7-830d-78d89fbea36e","sortOrder":0},"sortOrder":0,"tags":[{"id":"40ac7f57-395c-4f6a-82fb-292f80ab0240","name":"HTML","targetId":"0927ad39-816b-4592-9fd1-04963f4f6b2f"}],"recentChangeFlags":null}],"inScope":true,"sortOrder":0,"description":null,"rewardRange":null,"descriptionHtml":null,"rewardRangeData":{},"recentChangeFlags":null}],"resources":[],"engagement":{"id":"5da4b8d5-7252-4d63-b889-4d4738a16848","code":"owaspjavasanitizer","state":"in_progress","endsAt":null,"bountyId":"2dc61b5d-d9fc-43d4-9d08-cfb6b45373e0","startsAt":"2016-07-11T18:00:00Z"},"engagementConfiguration":{"participation":"open","crowdSelectionStrategy":"none"}},"industryName":null,"methodologyName":null,"logoUrl":"https://logos.bugcrowdusercontent.com/logos/cefb/e246/9262c95c/0c4fd6ff55ed6b13a1d8ef205522af95_owasp_logo_flat2_icon.png","logoBackgroundColor":"#0f1854","displayDisclosureTerms":true,"coordinatedDisclosure":true,"collaborationEnabled":true,"participation":"open","rewardAllocation":"no_reward","engagementTypeDetail":{"iconVariant":"vdp","productLabel":"Vulnerability Disclosure","timeboxed":false},"pausedReason":null,"lastTransitionAt":"2025-01-22T18:02:03.334Z","cancellationReason":null,"statusLabel":"In progress","routesPaths":{"brief":"/engagements/owaspjavasanitizer","changelogs":"/engagements/owaspjavasanitizer/changelog","submissions":null,"announcements":"/engagements/owaspjavasanitizer/announcements","hallOfFame":"/engagements/owaspjavasanitizer/hall_of_fames","crowdstream":"/engagements/owaspjavasanitizer/crowdstream"},"announcementsCount":1,"knownIssuesEnabled":false,"isDemo":false,"serviceLevel":"Platform","submitReportUrl":"/engagements/owaspjavasanitizer/submissions/new","methodologyUrl":null,"progressPercentage":0,"badgeVariant":null,"userBannedFromEngagement":null,"isLoggedIn":false,"loginUrl":"/user/sign_in","scopedSubmissionsUrl":"/submissions?engagement%5B%5D=owaspjavasanitizer\u0026sort%5B%5D=submitted-desc","isFollowing":null,"credentialsUrl":null,"toggleSubscriptionUrl":"/owaspjavasanitizer/engagement_subscribers","engagementChangelogsUrl":"/engagements/owaspjavasanitizer/changelog","publishedAt":"2025-01-22T18:02:03.374Z","engagementChangelogUrl":"/engagements/owaspjavasanitizer/changelog/2650ea1c-eb2e-4323-b32b-371f5ccf25f5","createUserFeedbacksUrl":"/engagements/owaspjavasanitizer/feedbacks","engagementCrowdstreamUrl":"/engagements/owaspjavasanitizer/crowdstream","acceptedSubmissionsEnabled":true,"disclosedReportsEnabled":true,"engagementsUrl":"/engagements","engagementPaymentDetailUrl":null,"shouldShowHideButton":false,"engagementHiddenData":{},"totalRewardPool":null,"vrtScopeRules":{"data":[]},"vrtVersion":"1.19.1","isSubmissionPublishThrottled":false,"showIdVerificationAlert":false,"identityVerificationSettingsUrl":"https://bugcrowd.com/h/settings/identity_verification","identityUrl":null}