Soumettre #1080105: youseries ureport 2.2.9 Cross Site Scriptinginformation

Titreyouseries ureport 2.2.9 Cross Site Scripting
DescriptionUReport 2.2.9 contains stored cross-site scripting in report search-form rendering. Affected component and input: - File: ureport2-core/src/main/java/com/bstek/ureport/definition/searchform/InputComponent.java - Input: the label attribute of a stored search-form input component - Sink: InputComponent.toHtml() concatenates this.label into a span, and html-preview.html renders ${upSearchFormHtml} as raw HTML. Attack prerequisites: An authenticated report author stores a crafted report. The payload is triggered when another user previews that report. Reproduction: 1. Create a minimal UReport XML document containing a search-form input-text component. 2. Set its label to an event-capable HTML marker, for example: <img src=x onerror = self[`al`+`ert`](`gt48261022r44c`)> 3. Save the report through POST /blade-report/ureport/designer/saveReportFile. 4. Open GET /blade-report/ureport/preview?_u=blade-<REPORT_NAME> as another authenticated user. Observed evidence: Three consecutive independent runs succeeded. Fresh markers gt48261022r44a, gt48261022r44b and gt48261022r44c were returned unescaped as real IMG elements inside the search-form label. Run 3 contained: <span style='font-size:13px'><img src=x onerror = self[`al`+`ert`](`gt48261022r44c`)></span> The report record was confirmed persisted and was removed after testing. Confirmed vulnerable code: InputComponent.java:31-43 sb.append("<span style='font-size:13px'>" + this.label + "</span>"); html-preview.html:22 ${upSearchFormHtml} Impact: An authenticated report author can execute JavaScript in the browser of another authenticated user who previews the stored report, allowing actions in the victim's session context. Classification: CWE-79 CVSS 3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (5.4) Verified in UReport 2.2.9 integrated with SpringBlade 5.0.2. No private host, credential, cookie or token is included.
La source⚠️ https://github.com/youseries/ureport/issues/622
Utilisateur
 sanktsimone (UID 102457)
Soumission07/11/2026 13:42 (il y a 22 jours)
Modérer29/11/2026 20:47 (22 days later)
StatutAccepté
Entrée VulDB445239 [youseries UReport jusqu’à 2.2.9 Search-Form Input InputComponent.java toHtml label cross site scripting]
Points20

Interested in the pricing of exploits?

See the underground prices here!