# CVE-2021-28940: Because of a incorrect escaped exec command in MagpieRSS in 0.72 in the /extlib/Snoopy.class.inc file, it is possible to add a extra comman…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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): 15.7%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-04-02T19:06:19.000Z
- Modified: 2026-06-17T03:47:03.610Z
- Weaknesses: CWE-116
- Assigned by: mitre

## Description

Because of a incorrect escaped exec command in MagpieRSS in 0.72 in the /extlib/Snoopy.class.inc file, it is possible to add a extra command to the curl binary. This creates an issue on the /scripts/magpie_debug.php and /scripts/magpie_simple.php page that if you send a specific https url in the RSS URL field, you are able to execute arbitrary commands.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- magpierss_project magpierss: 0.72

## Every score

- 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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://pastebin.com/kpzHKKJu> (exploit, third-party-advisory)
- <https://www.exploit-db.com/exploits/49643> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/kellan/magpierss/blob/04d2a88b97fdba5813d01dc0d56c772d97360bb5/extlib/Snoopy.class.inc#L660> (third-party-advisory)

## Sources

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

---

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