VYPR
Moderate severityNVD Advisory· Published Aug 4, 2022· Updated Aug 3, 2024

CVE-2022-35144

CVE-2022-35144

Description

Renato v0.17.0 was discovered to contain a cross-site scripting (XSS) vulnerability.

AI Insight

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

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
ranetonpm
< 0.17.10.17.1

Affected products

1

Patches

Vulnerability mechanics

Root cause

"Insufficient sanitization of user-supplied search input allows stored/reflected cross-site scripting (XSS)."

Attack vector

An attacker can inject a malicious search query containing HTML/JavaScript payloads (e.g. `

Affected code

The vulnerability is in the search route (`app/routes/search.route.js`). The original code used `_s.stripTags()` to remove `

What the fix does

The patch introduces a new `sanitize.js` function that calls `validator.blacklist()` to remove dangerous characters (`&'"/>

Preconditions

  • inputThe application must be using the search functionality with user-supplied input in the `search` query parameter
  • authNo authentication is required to access the search endpoint

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

References

10

News mentions

0

No linked articles in our index yet.