Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-v4v2-8h88-65qj: Attribute Injection leading to XSS(Cross-Site-Scripting)

Summary

Google Analytics element Attribute Injection leading to XSS

Details

Since the custom status interface can set an independent Google Analytics ID and the template has not been sanitized, there is an attribute injection vulnerability here, which can lead to XSS attacks. image

PoC

  1. Run the latest version of the louislam/uptime-kuma container and initialize the account password.
  2. Create a new status page.
  3. Edit the status page and change the Google Analytics ID to following payload(it only works for firefox. Any attribute can be injected, but this seems the most intuitive):
123123" onafterscriptexecute=alert(window.name+1),eval(window.name) a="x
  1. Click Save and return to the interface. XSS occurs. screenshots: image

9d0603e634fb7da2e83a0a45dc0a36ac

Impact

Latest docker version (Other versions have not been tested accurately)

ghsa
#xss#vulnerability#google#git#docker#firefox

Summary

Google Analytics element Attribute Injection leading to XSS

Details

Since the custom status interface can set an independent Google Analytics ID and the template has not been sanitized, there is an attribute injection vulnerability here, which can lead to XSS attacks.

PoC

  1. Run the latest version of the louislam/uptime-kuma container and initialize the account password.

  2. Create a new status page.

  3. Edit the status page and change the Google Analytics ID to following payload(it only works for firefox. Any attribute can be injected, but this seems the most intuitive):

    123123" onafterscriptexecute=alert(window.name+1),eval(window.name) a="x

  1. Click Save and return to the interface. XSS occurs.
    screenshots:

Impact

Latest docker version (Other versions have not been tested accurately)

References

  • GHSA-v4v2-8h88-65qj

ghsa: Latest News

GHSA-26jh-r8g2-6fpr: Gradio's dropdown component pre-process step does not limit the values to those in the dropdown list