CVE-2023-3971
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn HTML injection flaw was found in Controller in the user interface settings. This flaw allows an attacker to capture credentials by creating a custom login page by injecting HTML, resulting in a complete compromise.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceHTML injection vulnerability in the Controller's user interface settings allows attackers to inject arbitrary HTML content, enabling creation of fraudulent custom login pages to harvest user credentials and achieve full account compromise.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 4.3.11= 4.4= 2.3= 2.4= 1.0= 1.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed Ansible product and versionRun 'ansible-controller --version' or check the UI footer for the version number. For Ansible Platform, check /etc/redhat-release or the operator deployment manifest.Affected if The version is Ansible Automation Controller < 4.3.11, = 4.4, or Ansible Automation Platform = 2.3 or = 2.4, or Ansible Developer = 1.0, or Ansible Inside = 1.1
-
Verify Controller UI access is enabledConfirm the Ansible Controller web UI is accessible by navigating to the hostname in a browser. Check if the /api endpoint returns a valid response indicating the Controller is operational.Affected if The Controller UI is accessible and the version is in the affected range listed above
-
Inspect custom login page settingsLog into the Controller as an admin, navigate to Settings > Authentication settings, and examine any custom login template or custom logo settings. Use the API: GET /api/v2/settings/ui/ to retrieve UI-related configuration.Affected if Custom login page settings exist and contain user-supplied HTML content that has not been properly sanitized
-
Check for unauthorized custom login pagesReview the authentication configuration for any unexpected custom_login_page or custom_logo settings. Compare against documented baseline configurations or backup configurations.Affected if Custom login page configurations point to unfamiliar URLs, templates, or contain suspicious HTML markup not authored by your team
-
Audit recent authentication settings changesCheck the activity stream or audit logs for recent modifications to UI settings, specifically authentication-related settings. Use: GET /api/v2/activity_stream/?actor=<admin>&object_type=settingsAffected if Recent changes to authentication or UI settings were made by unexpected users or from unexpected IP addresses
You are affected if you are running any of the listed product versions AND the Controller UI is accessible with custom login page settings that contain unsanitized HTML content.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped4.3.11
Implement strict input validation and output encoding for all user-supplied content in UI settings; apply Content Security Policy headers to prevent injection exploitation.
Ansible Automation Controller 4.4+ or 4.3.11+; Ansible Automation Platform 2.4.1+
- 1. Identify the exact version of Ansible Automation Controller or Platform currently installed
- 2. For Ansible Automation Controller: upgrade to version 4.4 or later to address the HTML injection vulnerability in UI settings
- 3. For Ansible Automation Platform: upgrade to version 2.4.1 or later, or apply the latest security errata from Red Hat
- 4. For Ansible Developer and Ansible Inside: apply latest Red Hat security updates available for those specific product versions
- 5. After upgrade, verify the fix by reviewing the controller settings UI for any injected HTML that may have been present
- 6. Audit user accounts and credential configurations to ensure no compromise occurred during the vulnerability window
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-3971 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-3971 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data