CVE-2023-0934 in answerinfo

Summary

by MITRE • 02/21/2023

Cross-site Scripting (XSS) - Stored in GitHub repository answerdev/answer prior to 1.0.5.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 07/05/2025

The vulnerability identified as CVE-2023-0934 represents a stored cross-site scripting flaw within the answerdev/answer repository software. This repository management system, which serves as a platform for hosting and managing code repositories, contains a critical security weakness that allows attackers to inject malicious scripts into stored content. The vulnerability specifically affects versions prior to 1.0.5, indicating that the developers had not yet implemented proper input sanitization measures to prevent malicious script execution.

The technical implementation of this stored XSS vulnerability occurs when user-supplied data is not adequately validated or sanitized before being stored in the database and subsequently rendered in web pages. When authenticated users view content containing malicious scripts, these scripts execute in the context of other users' browsers, potentially allowing attackers to hijack sessions, steal sensitive information, or perform unauthorized actions on behalf of victims. This type of vulnerability falls under CWE-79 which specifically addresses cross-site scripting flaws in web applications, making it a well-documented and serious security concern in web development practices.

The operational impact of this vulnerability extends beyond simple script injection, as it can enable attackers to compromise entire user sessions and potentially gain elevated privileges within the repository environment. Since the vulnerability affects a repository management system, successful exploitation could lead to unauthorized access to source code, sensitive configuration files, and other critical assets stored within the repository. The stored nature of this vulnerability means that malicious payloads persist even after the initial injection, making the attack vector particularly dangerous as it can affect multiple users over extended periods without requiring repeated exploitation attempts.

Security practitioners should immediately upgrade to version 1.0.5 or later to address this vulnerability, as the patch likely includes proper input validation and output encoding mechanisms. Organizations using this repository system should implement additional monitoring and logging to detect potential exploitation attempts, while also conducting thorough security assessments of their repository environments to identify any potential compromise from prior attacks. The vulnerability aligns with ATT&CK technique T1566.001 which covers social engineering through spearphishing with a link, as attackers could craft malicious repository entries designed to trigger XSS when other users access them. Additionally, this vulnerability demonstrates the importance of implementing defense-in-depth strategies including content security policies, regular security audits, and comprehensive input validation across all user-facing application components to prevent similar issues in other systems.

Responsible

Huntr.dev

Reservation

02/21/2023

Disclosure

02/21/2023

Moderation

accepted

CPE

ready

EPSS

0.00393

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!