CVE-2021-4308 — Vulnerability in webpa/webpa — CVE Details
CRITICAL
WebPA SQL Injection vulnerability
Published January 8, 2023Updated November 8, 2023Source: osv
Summary
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 can to address this issue. The name of the patch is 8836c4f549181e885a68e0e7ca561fdbcbd04bf0. It is recommended to upgrade the affected component. The identifier VDB-217637 was assigned to this vulnerability.
Advisory Timeline
- First published January 8, 2023 (1373 days ago).
- Last revised November 8, 2023 — 304 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
Composer
Update webpa/webpa to 3.1.2 or latercomposer require "webpa/webpa:^3.1.2"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| webpa/webpa | packagist | v3.0.0, v3.0.1, v3.0.2, v3.0.3 (+6 more) | 3.1.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-4308ADVISORY
- https://github.com/WebPA/WebPA/pull/87WEB
- https://github.com/WebPA/WebPA/commit/8836c4f549181e885a68e0e7ca561fdbcbd04bf0WEB
- https://github.com/WebPA/WebPAPACKAGE
- https://github.com/WebPA/WebPA/releases/tag/v3.1.2WEB
- https://vuldb.com/?ctiid.217637WEB
- https://vuldb.com/?id.217637WEB
Frequently Asked Questions
- What is CVE-2021-4308?
- WebPA SQL Injection vulnerability This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2021-4308?
- CVE-2021-4308 affects webpa/webpa. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-4308 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
9.8
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
GHSA-mjgw-f2c4-f8qj
Related CVEs
- CVE-2026-107845CRITICAL
Contao: Cross-site scripting in the comments bundle
- CVE-2026-92161CRITICAL
FriendsOfFlarum OAuth: Unauthenticated account takeover via unverified email trust in Discord OAuth provider
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies