Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-26777: Script tag in Footer Text breaks window.preloadData at Status Page · Issue #2186 · louislam/uptime-kuma

Cross Site Scripting vulnerability found in :ouislam Uptime Kuma v.1.19.6 and before allows a remote attacker to execute arbitrary commands via the description, title, footer, and incident creation parameter of the status_page.js endpoint.

CVE
#xss#vulnerability#mac#windows#nodejs#js#docker

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn’t find similar issue

🛡️ Security Policy

  • I agree to have read this project Security Policy

Description

Script tag in custom footer text breaks window.preloadData and it gets added to page.

Also side effect is that you can load custom JS/XSS there if use this footer text:
“</script><script>alert()</script>”

👟 Reproduction steps

  1. Edit Status Page
  2. Footer text: <script></script>
  3. Save and json is added to top of the page.
  4. Console error: Uncaught SyntaxError: Invalid or unexpected token

👀 Expected behavior

window.preloadData should escape script to avoid parse error

😓 Actual Behavior

window.preloadData crashes when script tag is in Footer Text.

🐻 Uptime-Kuma Version

1.18.0

💻 Operating System and Arch

Windows 10

🌐 Browser

Edge latest

🐋 Docker Version

No response

🟩 NodeJS Version

No response

📝 Relevant log output

No response

Related news

Uptime Kuma 1.19.6 Cross Site Scripting

Uptime Kuma versions 1.19.6 and below suffer from a cross site scripting vulnerability.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907