Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. alchemy_cms
  4. ›
  5. CVE-2018-18307

CVE-2018-18307: AlchemyCMS is vulnerable to stored XSS via the /admin/pictures image field

May 14, 2022 (updated May 22, 2025)

A stored XSS vulnerability has been discovered in version 4.1.0 of AlchemyCMS via the /admin/pictures image filename field.

References

  • github.com/AlchemyCMS/alchemy_cms
  • github.com/AlchemyCMS/alchemy_cms/blob/4.1-stable/app/controllers/alchemy/admin/base_controller.rb
  • github.com/AlchemyCMS/alchemy_cms/blob/4.1-stable/app/controllers/alchemy/admin/pictures_controller.rb
  • github.com/AlchemyCMS/alchemy_cms/blob/4.1-stable/app/controllers/alchemy/admin/resources_controller.rb
  • github.com/advisories/GHSA-7mj4-2984-955f
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/alchemy_cms/CVE-2018-18307.yml
  • nvd.nist.gov/vuln/detail/CVE-2018-18307

Code Behaviors & Features

Detect and mitigate CVE-2018-18307 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 4.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 6.1 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/alchemy_cms/CVE-2018-18307.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 29 Aug 2025 00:19:48 +0000.