GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Check your stack
GHSA-crx4-7mmq-j74jlow3.5

OpenSTAManager has HTML Injection in modules/utenti/edit.php

Impact

An HTML Injection vulnerability exists in the user group creation functionality that allows an attacker to inject arbitrary HTML content into the application interface. The vulnerability occurs when user-supplied input in the group name field is not properly sanitized before being rendered, allowing an attacker to inject HTML elements such as anchor tags. This may enable phishing attacks or unintended redirection when other users interact with the injected content.

Source excerpt · OSV

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

Affected rangeRecorded fix
Earlier releases before 2.11-betaEcosystem versions2.11-beta

Version evidence: OSV · GHSA-crx4-7mmq-j74j

View original version evidence (92 explicit versions)

Original source description

Summary

An HTML Injection vulnerability exists in the user group creation functionality that allows an attacker to inject arbitrary HTML content into the application interface. The vulnerability occurs when user-supplied input in the group name field is not properly sanitized before being rendered, allowing an attacker to inject HTML elements such as anchor tags. This may enable phishing attacks or unintended redirection when other users interact with the injected content.

Details

The vulnerable code responsible for rendering this content is located in: modules/utenti/edit.php

<i class="fa fa-users mr-2"></i>'.tr('Utenti del gruppo: _GROUP_', [
    '_GROUP_' => '<span class="text-primary">'.$group->getTranslation('title').'</span>

PoC

A malicious user can inject HTML content into the Name field when creating a new user group.

<img width="1233" height="293" alt="image" src="https://github.com/user-attachments/assets/cc09d0d5-ec77-4e94-94f7-35a277c49130" />

After selecting the group, the application renders the injected HTML without proper sanitization. As a result, the anchor tag is displayed as an active link in the interface.

<img width="583" height="356" alt="image" src="https://github.com/user-attachments/assets/ac9006fb-2a5c-4a84-946e-9c54b7ac5500" />

The injected anchor tag is also visible when the group is assigned to a user.

<img width="1262" height="503" alt="image" src="https://github.com/user-attachments/assets/68b2d45f-d0b8-4304-90fa-cb56f55ce3aa" />

When a user clicks the injected link, the browser redirects them to the attacker-controlled URL.

Impact

This vulnerability is an HTML Injection caused by improper sanitization of user-supplied input before rendering it in the application interface. Any user who views the interface where the injected content is rendered may be impacted.

References