VYPR
Unrated severityNVD Advisory· Published Jun 9, 2014· Updated May 6, 2026

CVE-2013-3082

CVE-2013-3082

Description

Cross-site scripting (XSS) vulnerability in plugins/jojo_core/forgot_password.php in Jojo before 1.2.2 allows remote attackers to inject arbitrary web script or HTML via the search parameter to forgot-password/.

AI Insight

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

Affected products

4
  • Jojocms/Jojo CMS3 versions
    cpe:2.3:a:jojocms:jojo-cms:*:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:a:jojocms:jojo-cms:*:*:*:*:*:*:*:*range: <=1.2.1
    • cpe:2.3:a:jojocms:jojo-cms:1.1:*:*:*:*:*:*:*
    • cpe:2.3:a:jojocms:jojo-cms:1.2:*:*:*:*:*:*:*
  • Jojocms/Jojollm-fuzzy
    Range: <=1.2.1

Patches

Vulnerability mechanics

Root cause

"The application fails to sanitize user-provided input before reflecting it in an error message, leading to a cross-site scripting vulnerability."

Attack vector

An attacker can trigger this vulnerability by sending a crafted request to the forgot-password/ endpoint. By injecting malicious web script or HTML into the search parameter, the attacker forces the application to reflect the payload back to the user's browser within an error message. This allows for the execution of arbitrary scripts in the context of the victim's session [CWE-79].

Affected code

The vulnerability is located in the plugins/jojo_core/forgot_password.php file. Specifically, the issue occurs within the _getContent() function where the $search variable is directly concatenated into an error message string.

What the fix does

The patch modifies plugins/jojo_core/forgot_password.php to wrap the $search variable in the htmlentities() function before it is included in the error message [patch_id=4373310]. This ensures that any special characters provided by the user are converted into their corresponding HTML entities, preventing the browser from interpreting the input as executable code. This effectively neutralizes the cross-site scripting vector by ensuring the input is treated as plain text.

Preconditions

  • inputThe attacker must provide a malicious payload via the search parameter to the forgot-password/ endpoint.

Reproduction

The vulnerability can be reproduced by navigating to the forgot-password/ page and submitting a search query containing HTML or JavaScript payloads, which will then be reflected in the resulting error message.

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

References

3

News mentions

0

No linked articles in our index yet.