VYPR
Medium severity6.4OSV Advisory· Published Aug 12, 2024· Updated Apr 15, 2026

CVE-2024-6639

CVE-2024-6639

Description

The MDx theme for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'mdx_list_item' shortcode in all versions up to, and including, 2.0.3 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Stored XSS in MDx WordPress theme via 'mdx_list_item' shortcode allows authenticated contributors to inject arbitrary scripts.

The MDx WordPress theme, up to version 2.0.3, contains a stored cross-site scripting (XSS) vulnerability in its 'mdx_list_item' shortcode. The root cause is insufficient input sanitization and output escaping on user-supplied attributes, allowing malicious HTML or JavaScript to be stored in the database [1].

An attacker must have at least contributor-level access to the WordPress site to exploit this vulnerability. By crafting a post or page containing the vulnerable shortcode with a malicious attribute, the injected script is stored and executed whenever any user views the affected page [1].

Successful exploitation enables the attacker to execute arbitrary web scripts in the context of the victim's browser. This can lead to session hijacking, defacement, or redirection to malicious sites, compromising the integrity and confidentiality of the WordPress installation [1].

The vulnerability has been patched in a commit that applies esc_html() and esc_attr() to shortcode attributes [1]. Users should update the MDx theme to a version later than 2.0.3 to mitigate the risk [2].

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

1

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

2

News mentions

0

No linked articles in our index yet.