CVE-2026-42538: Potentially Flawed Custom Html Escape
A potentially insecure custom function is interpolated directly into an HTML attribute value within a template literal. If this function fails to adequately escape double quotes, it enables attribute breakout and Cross-Site Scripting (XSS). Use a thoroughly tested standard library or explicitly context-aware sanitizers (e.g., filterXSS, DOMPurify).
greprules fetch cve-2026-42538-potentially-flawed-custom-html-escape --engine opengrepDescription
A potentially insecure custom function is interpolated directly into an HTML attribute value within a template literal. If this function fails to adequately escape double quotes, it enables attribute breakout and Cross-Site Scripting (XSS). Use a thoroughly tested standard library or explicitly context-aware sanitizers (e.g., filterXSS, DOMPurify).
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.