# CVE-2021-24520: Stock in & out <= 1.0.4 - Authenticated SQL Injection

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.57%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-08-09T10:04:14.000Z
- Modified: 2026-06-17T03:40:10.440Z
- Weaknesses: CWE-89
- Assigned by: WPScan

## Description

The Stock in & out WordPress plugin through 1.0.4 lacks proper sanitization before passing variables to an SQL request, making it vulnerable to SQL Injection attacks. Users with a role of contributor or higher can exploit this vulnerability.

(As written by CVE List.)

## Affected

- Unknown Stock in & out: from 1.0.4 up to 1.0.4
- coderstimes out_of_stock_message_for_woocommerce: up to 1.0.4

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/pang0lin/CVEproject/blob/main/wordpress_Stock-in-and-out_sqli.md> (exploit, third-party-advisory)
- <https://wpscan.com/vulnerability/f903aadd-17af-4ddf-8635-abb3338ac815> (exploit, third-party-advisory)

## Sources

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

---

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