/

CVE-2026-122095

Severity:

HIGH RISK

(7.6)

Stored XSS (CWE-79) in AsiaInfo BSS Menu Icon Upload

CVE-2026-122095

Deferred

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Same-origin JavaScript execution in a victim's browser

Severity:

HIGH RISK

(7.6)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

AsiaInfo BSS Platform has a stored cross-site scripting vulnerability in its menu icon upload function. An authenticated user with ordinary application privileges can upload an SVG containing JavaScript; the script may execute under the application's origin if a victim opens the SVG as a document, rather than seeing it rendered through a normal menu image.

Affected context

The issue affects AsiaInfo BSS Platform 9.2 before 9.2.38 when the menu icon upload function accepts SVG files and serves them from the application's origin. Normal menu rendering uses an HTML <img> element, which does not execute the SVG's embedded script; the risk arises when the uploaded file is loaded as a document, such as through direct navigation or an <object> or <iframe>.

Exploit preconditions

  • Attack surface: The authenticated menu icon upload function and the application's file-serving behavior
  • Required access: An account with ordinary application privileges that can upload menu icons
  • Trigger point: A victim loads the uploaded SVG as a document, directly or through an embedding element
  • Why exploitation is possible: The SVG is served from the application origin, and script in an SVG may execute when the file is treated as a document; normal <img> rendering does not trigger this behavior

Why this happens

The application allows active SVG content to be uploaded and served from its own origin without sufficiently isolating or neutralizing it. This is a cross-site scripting issue mapped to CWE-79: untrusted content can be interpreted as executable script in a victim's browser when loaded in a document context. The distinction between image rendering and document loading is important to the exposure.

Potential impact

  • A script may execute in a victim's browser with the application's origin
  • Depending on the victim's permissions and application protections, the script could access exposed page data or perform actions as that user
  • The issue could enable targeted phishing or other abuse of user trust in the application

General mitigation guidance

Defensive patterns include treating uploaded SVG as active content rather than a passive image. Applications can restrict uploads to approved image formats, convert accepted images to a safe raster format, or sanitize SVG using a narrowly defined policy.

Where SVG must be retained, serving it from a separate, isolated origin and preventing document-context execution can reduce exposure. Apply strict content-type and browser security policies, limit upload and management privileges to the minimum necessary, and avoid relying on image-element rendering as the only safety control.

How teams detect issues like this

  • Use static analysis and code review to identify upload paths that accept SVG or other active formats and serve them from the application origin.
  • Review file-serving behavior, including content types, browser security headers, and whether uploads can be loaded as documents or embedded with <object> or <iframe>.
  • Check whether upload validation relies only on file extensions or client-provided MIME types, and enforce centrally defined file-type policies.
  • Add security tests and policy checks for active-content uploads and same-origin user-controlled files; automated review tools may help identify related patterns.

Sources

SourceLink
github.comgithub.com/trevorkaon/vulnerability-security-research/blob/main/advisories/asiainfo/CVE-2026-122095.md
orcid.orgorcid.org/0009-0007-0562-1331

Frequently asked

questions

The described normal <img> rendering does not execute the SVG's embedded script. The stated risk requires the SVG to be loaded as a document, such as by direct navigation or through an embedding element.

An attacker needs an authenticated account with ordinary privileges that allow menu icon uploads. A victim must then load the uploaded file as a document for the script execution condition to apply.

Avoid serving user-uploaded active content from the application origin. Restrict accepted formats or convert uploads to safe raster images; if SVG is necessary, apply strict sanitization and isolation.

Treat uploaded files as untrusted, validate and constrain formats on the server, isolate user-controlled content, and test document-loading behavior as well as normal image rendering.

Find out what's already
exploitable in your codebase.