VYPR
Unrated severityNVD Advisory· Published Feb 13, 2023· Updated Nov 25, 2024

juju2143 WalrusIRC parser.js parseLinks cross site scripting

CVE-2015-10079

Description

A vulnerability was found in juju2143 WalrusIRC 0.0.2. It has been rated as problematic. This issue affects the function parseLinks of the file public/parser.js. The manipulation of the argument text leads to cross site scripting. The attack may be initiated remotely. Upgrading to version 0.0.3 is able to address this issue. The patch is named 45fd885895ae13e8d9b3a71e89d59768914f60af. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-220751.

AI Insight

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

Affected products

2
  • juju2143/WalrusIRCllm-create2 versions
    <=0.0.2+ 1 more
    • (no CPE)range: <=0.0.2
    • (no CPE)range: 0.0.2

Patches

Vulnerability mechanics

Root cause

"The function parseLinks in WalrusIRC 0.0.2 improperly handles user-supplied text, allowing for cross-site scripting."

Attack vector

An attacker can exploit this vulnerability by sending specially crafted text to the affected WalrusIRC instance. The manipulation of the 'text' argument in the parseLinks function can lead to the injection of malicious scripts. This attack can be initiated remotely, as the vulnerability lies in the parsing of input text. The vulnerability is present in version 0.0.2 of WalrusIRC.

Affected code

The vulnerability resides in the parseLinks function located in the file public/parser.js. The function is responsible for parsing and converting text, including URLs, into clickable links. The specific lines of code affected by the patch are those that use regular expressions to identify and format URLs, as shown in the commit diff [ref_id=1].

What the fix does

The patch modifies the regular expressions used in the parseLinks function to correctly handle URLs and prevent script injection. Specifically, the updated regular expressions now include a check for double quotes ("") within the URL patterns. This prevents attackers from injecting malicious HTML or JavaScript code by embedding it within what appears to be a valid URL. The fix is applied to the file public/parser.js [patch_id=4375396].

Preconditions

  • inputThe input 'text' argument to the parseLinks function must contain malicious script content that can be interpreted as a URL.

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

References

4

News mentions

0

No linked articles in our index yet.