CVE-2026-57958
Received Received - Intake

Reflected XSS in Mixpost via Unsanitized OAuth Error Parameters

Vulnerability report for CVE-2026-57958, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-29

Last updated on: 2026-06-29

Assigner: VulnCheck

Description

Mixpost through 2.6.0 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to execute arbitrary JavaScript in authenticated users' browsers by crafting malicious OAuth callback URLs with unsanitized error query parameters. Attackers can exploit the OAuth callback controller's failure to sanitize error parameters before rendering them through Laravel flash messages via the Vue v-html directive to hijack authenticated user sessions or perform unauthorized actions.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-29
Last Modified
2026-06-29
Generated
2026-06-29
AI Q&A
2026-06-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
mixpost mixpost to 2.6.0 (inc)
inovector mixpost to 2.6.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-57958 is a reflected cross-site scripting (XSS) vulnerability in Mixpost through version 2.6.0. It occurs because the OAuth callback controller fails to properly sanitize error query parameters before rendering them. Attackers can craft malicious OAuth callback URLs containing unsanitized error parameters that get reflected in Laravel flash messages and rendered using the Vue v-html directive.

This flaw allows unauthenticated attackers to inject and execute arbitrary JavaScript code in the browsers of authenticated users who visit the malicious URL.

The vulnerability arises specifically from the OAuth callback controller taking the error parameter verbatim from the request and storing it as a Laravel flash message without validation or escaping, which is then rendered in the user interface.

Impact Analysis

Exploitation of this vulnerability can allow attackers to hijack authenticated user sessions by executing malicious JavaScript in the victim's browser.

Attackers may perform unauthorized actions on behalf of the user, such as making changes or accessing sensitive information.

The vulnerability can also facilitate credential phishing attacks or cross-site request forgery (CSRF) attacks if the session cookie lacks proper security flags like HttpOnly.

Detection Guidance

This vulnerability can be detected by monitoring for suspicious OAuth callback URLs containing crafted error query parameters that include JavaScript payloads. Since the attack involves reflected cross-site scripting via the error parameter in OAuth callbacks, inspecting web server logs or proxy logs for unusual or unexpected error parameter values in OAuth callback requests can help identify potential exploitation attempts.

Commands to detect such attempts might include searching web server access logs for OAuth callback URLs with suspicious error parameters. For example, using grep on Apache or Nginx logs:

  • grep -i 'error=' /var/log/nginx/access.log
  • grep -i 'error=' /var/log/apache2/access.log

Further, you can look for common XSS payload patterns within the error parameter values, such as <script> tags or JavaScript event handlers.

Additionally, using web application security scanners that detect reflected XSS vulnerabilities by testing the OAuth callback endpoint with crafted payloads can help confirm the presence of this vulnerability.

Mitigation Strategies

Immediate mitigation steps include preventing the execution of malicious scripts by sanitizing or escaping the error query parameter before rendering it in the OAuth callback controller.

Since the vulnerability arises from unsanitized error parameters being rendered via Laravel flash messages and Vue's v-html directive, you should:

  • Implement proper input validation and sanitization on the error parameter to neutralize any embedded scripts.
  • Avoid using Vue's v-html directive to render untrusted content or ensure that the content is properly escaped before rendering.
  • If possible, apply patches or updates from the vendor or community once available.
  • As a temporary workaround, consider disabling or restricting OAuth callback error messages until a fix is applied.

Additionally, ensure session cookies have the HttpOnly flag set to reduce the risk of session hijacking.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-57958. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart