Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-2123— GeSHi CSS cssgen.php get_var cross site scripting

Quick assessment

Affected
n/a GeSHi
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GeSHi是Generic Syntax Highlighter开源的一个 PHP 通用语法高亮器。 GeSHi 1.0.9.1及之前版本存在代码注入漏洞,该漏洞源于对参数default-styles、keywords-1、keywords-2、keywords-3、keywords-4和comments的错误操作会导致跨站脚本。

CVSS 3.5 · Low EPSS 0.46% · P38
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-2123

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
GeSHi CSS cssgen.php get_var cross site scripting
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability, which was classified as problematic, has been found in GeSHi up to 1.0.9.1. Affected by this issue is the function get_var of the file /contrib/cssgen.php of the component CSS Handler. The manipulation of the argument default-styles/keywords-1/keywords-2/keywords-3/keywords-4/comments leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
GeSHi 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GeSHi是Generic Syntax Highlighter开源的一个 PHP 通用语法高亮器。 GeSHi 1.0.9.1及之前版本存在代码注入漏洞,该漏洞源于对参数default-styles、keywords-1、keywords-2、keywords-3、keywords-4和comments的错误操作会导致跨站脚本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- GeSHi 1.0.9.0 -

II. Public POCs for CVE-2025-2123

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-2123

登录查看更多情报信息。

Vendor Advisories for CVE-2025-2123 (3)

Proof of Concept for CVE-2025-2123 (1)

News Coverage for CVE-2025-2123 (1)

Same Patch Batch · n/a · 2025-03-09 · 5 CVEs total

CVE-2025-2129 5.6 MEDIUM Mage AI insecure default initialization of resource
CVE-2025-2132 4.7 MEDIUM ftcms Search ajax_all_lists sql injection
CVE-2025-2130 3.5 LOW OpenXE Ticket Bearbeiten Page cross site scripting
CVE-2025-2133 2.4 LOW ftcms edit cross site scripting

IV. Related Vulnerabilities

V. Comments for CVE-2025-2123

No comments yet


Leave a comment