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

- Severity: Medium 6.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-02)
- Published: 2022-12-19T00:00:00.000Z
- Modified: 2026-06-17T04:19:22.517Z
- Weaknesses: CWE-89, CWE-707
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- unspecified pacman-canvas: 1.0.0; 1.0.1; 1.0.2; 1.0.3; 1.0.4; 1.0.5
- pacman-canvas_project pacman-canvas: before 1.0.6

## Every score

- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/platzhersh/pacman-canvas/commit/29522c90ca1cebfce6453a5af5a45281d99b0646> (patch, third-party-advisory)
- <https://github.com/platzhersh/pacman-canvas/releases/tag/1.0.6> (release-notes, third-party-advisory)
- <https://vuldb.com/?id.216270> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-4261](https://www.cve.org/CVERecord?id=CVE-2021-4261), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2021-4261](https://nvd.nist.gov/vuln/detail/CVE-2021-4261), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4261 · Whole record: https://cve.day/CVE-2021-4261.json · Rebuilt by cve.day 2026-11-25T22:58:07.962Z
