Intel

AIKIDO-2026-72524

monocart-reporter is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 4 days ago

59

Medium Risk

This Affects:

JSmonocart-reporter
1.0.0 - 2.12.2
Fixed in 2.12.3
Are you affected? Scan for Free

TL;DR

The interactive HTML report renders test titles and step names into the report DOM through the grid title formatter and the retry step detail view. Before the fix these values were inserted as raw HTML without escaping, so titles or step names containing markup were parsed as HTML. An attacker who can influence test titles or step names can inject arbitrary HTML or script that executes when a user opens the generated report. The fix escapes titles and step names with quoteAttr before they are rendered.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and test titles or step names can contain attacker-influenced content.

Background info

monocart-reporter is vulnerable to Cross-Site Scripting (XSS) in versions 1.0.0 - 2.12.2.

How to fix this

Upgrade the monocart-reporter library to the patch version.