CVE
РУСҚАЗ
CVE-2026-139819Орташа6.1Машиналық аударма

Eclipse Mojarra сақталатын XSS h:commandScript f:param мәндерінде

Eclipse Mojarra

Қысқаша

Eclipse Mojarra-ның `h:commandScript` ішіндегі `f:param` мәндерін өңдеуі шабуылдаушыға бетке HTML және JavaScript енгізуге мүмкіндік береді, бұл қолданба мәнді сұрау енгізуіне байланыстырған кезде шағылысқан сайтаралық скриптинг (XSS) осалдығы болып табылады. Шабуылдаушы оған жүйеге кірмей-ақ қашықтан қол жеткізе алады, бірақ шабуылдың жұмыс істеуі үшін пайдаланушы әрекет етуі керек.

Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.

Түзету

Түзетілген нұсқалар: 4.0.314.1.225.0.0-M14

Зардап шегетін нұсқалар

Eclipse Mojarra
бастап 2.3.0 → түзетілді 4.0.31
бастап 4.1.0 → түзетілді 4.1.22
бастап 5.0.0-M1 → түзетілді 5.0.0-M14
Түпнұсқа сипаттама (EN)

Түпнұсқа тақырып: Eclipse Mojarra reflected XSS in h:commandScript f:param values

In Eclipse Mojarra versions 2.3.0 to 4.0.30, 4.1.0 to 4.1.21 and 5.0.0-M1 to 5.0.0-M13, the JavaScript string literal which is rendered for an `f:param` value of `h:commandScript` escapes only single quote and backslash. The literal is written into a `script` element, so a value containing `</script>` ends the element and injects HTML and JavaScript into the page. When the application binds the value to request input, this is a reflected cross-site scripting vulnerability. When the CSP nonce mode is enabled, the same applies to `f:param` values of `h:commandLink` and `h:commandButton`, though the Content-Security-Policy then limits the impact to HTML injection.

Сілтемелер