CVE-2023-7035: Stored Cross-site scripting in automad/automad

automad/automad Updated 02 Oct 2025

Summary

21/12/2023
No i
Low
2.4

CVE-2023-7035: Withdrawn Advisory: Stored Cross-site scripting affecting automad/automad. Affects automad/automad versions < 1.10.9. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Automad is a package available on Packagist that provides a content management system (CMS) for creating and managing websites. It allows users to easily create and edit web pages, manage templates, and handle shared data. The vulnerability in question affects versions up to 1.10.9 of the automad/automad package.

Vulnerability Detail

The vulnerability is a stored cross-site scripting (XSS) issue that arises from the mishandling of user input in the sitename argument. The SharedController class responsible for handling form data and saving shared information fails to properly sanitize the user input on the client side when rendering the data. This allows an attacker to inject malicious scripts into the website, which can be executed when other users view the affected page. The vulnerability can be exploited remotely, and there have been public disclosures of an exploit. The severity of this vulnerability is rated as LOW with a CVSS score of 2.4.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can manually sanitize the sitename input before saving it to the database. This can be done by using appropriate sanitization functions or libraries to remove any potentially malicious scripts. Here is an example of how to sanitize the input using PHP's htmlspecialchars function:

$sitename = htmlspecialchars($_POST['sitename'], ENT_QUOTES, 'UTF-8');

By applying this workaround, the risk of the stored XSS vulnerability can be mitigated.

Conclusion

In conclusion, the automad/automad package up to version 1.10.9 is vulnerable to a stored cross-site scripting (XSS) issue. This can allow attackers to inject malicious scripts into the website, potentially leading to various security risks. To mitigate this vulnerability, it is advised to upgrade to a non-affected version of the package and follow secure coding practices. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for automad/automad →

Share this vulnerability

FAQ

The vulnerability allows an attacker to inject malicious scripts into the website, which can be executed when other users view the affected page. This can lead to various consequences, such as stealing sensitive user information, performing unauthorized actions on behalf of the user, or defacing the website.

Yes, there have been public disclosures of an exploit for this vulnerability. This means that attackers are aware of the issue and may actively exploit it to compromise vulnerable websites.

Yes, the vulnerability can be exploited remotely. Attackers do not need direct access to the target system to launch an attack.

The severity of this vulnerability is rated as LOW with a CVSS score of 2.4. While the impact of successful exploitation can be significant, the conditions required for exploitation are more difficult to achieve.

To protect your website, it is crucial to update the automad/automad package to a version that includes the fix for this vulnerability. Additionally, it is recommended to follow secure coding practices and sanitize user input before rendering it on web pages.

Related vulnerabilities

Recent vulnerabilities recorded for automad/automad.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback