目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-44108 PoC — FlatPress 安全漏洞

来源
关联漏洞
标题: FlatPress 安全漏洞 (CVE-2025-44108)
Description:FlatPress是FlatPress开源的一个轻量级、易于设置的平面文件博客引擎。 FlatPress 1.4之前版本存在安全漏洞,该漏洞源于输入中和不当,可能导致存储型跨站脚本攻击。
介绍

# CVE-2025-44108  - Stored cross site scripting(XSS) vulnerabilities in the FlatPress CMS 1.3.1

## Description 
A stored Cross-Site Scripting (XSS) vulnerability exists in the administration panel of Flatpress CMS 1.3.1. An attacker with admin privileges can inject a malicious JavaScript payload into the system, which is then stored persistently.

When a regular user visits the compromised page (e.g., a blog post), the injected payload executes automatically in the victim's browser.

## Affected product
- [Flatpress](https://www.flatpress.org/)
- Version : <=1.3.1
- Component : Gallery captions  

## ⚠️ Impact
- Steal session cookies. 
- Phishing Attacks
- Redirect users to malicious sites. 

# Step to Reproduce:

1.Download the FlatPress CMS from a trustworthy source. (https://github.com/flatpressblog/flatpress)

2.Launch a local PHP server using the command: php -S 127.0.0.1:80

3.Open the following URL in your browser: http://127.0.0.1/admin.php?p=uploader&action=gallerycaptions

4.In Administration area -> uploader->Gallery Captions, in that area you can edit the caption for the images, inject the payload and save , when ever site vister or admin vist the blog post the stored xss will get excute.



![Imge](https://github.com/harish0x/harish0x.github.io/blob/master/assets/img/cve44108/1.png)   
  
   

![Imge](https://github.com/harish0x/harish0x.github.io/blob/master/assets/img/cve44108/2.png)   

  

![Imge](https://github.com/harish0x/harish0x.github.io/blob/master/assets/img/cve44108/3.png) 
  


![Imge](https://github.com/harish0x/harish0x.github.io/blob/master/assets/img/cve44108/4.png)

   
   


```html
1. <iframe src="data:text/html;base64,PHNjcmlwdD5hbGVydCgnb2theSB4c3MnKTwvc2NyaXB0Pg=="></iframe>


2. <IFRAME SRC=# onmouseover="alert(document.cookie)"></IFRAME>

```


# Code area
[Flatpress github](https://github.com/flatpressblog/flatpress/commit/02a69013214a7d4c32b6b85aad7006b52acca329)

# Reference:
https://portswigger.net/web-security/cross-site-scripting

# Fixed Version
FlatPress 1.4 "Notturno" [link](https://www.flatpress.org/2025/01/20/flatpress-14-notturno-release-candidate-1-published/)

##  CVE Assignment
- **CVE ID:** CVE-2025-44108
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →